projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6498c3
)
gl/api: use public rather than private define
author
Matthew Waters
<matthew@centricular.com>
Wed, 9 Sep 2015 13:53:57 +0000
(23:53 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 9 Sep 2015 14:33:19 +0000
(
00:33
+1000)
HAVE_IOS is only defined for the build of this module so
attempting to use gstgl in iOS would result in incorrect GL
includes.
Use GST_GL_HAVE_PLATFORM_EAGL instead for choosing the iOS GL
header.
gst-libs/gst/gl/gstglapi.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglapi.h
b/gst-libs/gst/gl/gstglapi.h
index
5ef1c65
..
dd44b45
100644
(file)
--- a/
gst-libs/gst/gl/gstglapi.h
+++ b/
gst-libs/gst/gl/gstglapi.h
@@
-28,7
+28,7
@@
#ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES 1
#endif
-# if
def HAVE_IOS
+# if
GST_GL_HAVE_PLATFORM_EAGL
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
# else