mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
[730/906] glcompat: Properly check for GLchar and other types
On Android for example these are no #defines but typedefs
This commit is contained in:
parent
341210eaa6
commit
61dfdc19b9
1 changed files with 4 additions and 4 deletions
|
@ -22,16 +22,16 @@
|
|||
#define __GST_GL_COMPAT_H__
|
||||
|
||||
/* undefined typedefs */
|
||||
#ifndef GLeglImageOES
|
||||
#ifndef HAVE_GLEGLIMAGEOES
|
||||
typedef gpointer GLeglImageOES;
|
||||
#endif
|
||||
#ifndef GLchar
|
||||
#ifndef HAVE_GLCHAR
|
||||
typedef gchar GLchar;
|
||||
#endif
|
||||
#ifndef GLsizeiptr
|
||||
#ifndef HAVE_GLSIZEIPTR
|
||||
typedef ptrdiff_t GLsizeiptr;
|
||||
#endif
|
||||
#ifndef GLintptr
|
||||
#ifndef HAVE_GLINTPTR
|
||||
typedef ptrdiff_t GLintptr;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue