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__
|
#define __GST_GL_COMPAT_H__
|
||||||
|
|
||||||
/* undefined typedefs */
|
/* undefined typedefs */
|
||||||
#ifndef GLeglImageOES
|
#ifndef HAVE_GLEGLIMAGEOES
|
||||||
typedef gpointer GLeglImageOES;
|
typedef gpointer GLeglImageOES;
|
||||||
#endif
|
#endif
|
||||||
#ifndef GLchar
|
#ifndef HAVE_GLCHAR
|
||||||
typedef gchar GLchar;
|
typedef gchar GLchar;
|
||||||
#endif
|
#endif
|
||||||
#ifndef GLsizeiptr
|
#ifndef HAVE_GLSIZEIPTR
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
#endif
|
||||||
#ifndef GLintptr
|
#ifndef HAVE_GLINTPTR
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue