[vlc-commits] opengl build fix for os x
Ilkka Ollakka
git at videolan.org
Sat Jun 30 14:01:52 CEST 2012
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Jun 30 15:00:49 2012 +0300| [729d3528ded75a55e02a8b3f2c701669d2d32ddf] | committer: Ilkka Ollakka
opengl build fix for os x
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=729d3528ded75a55e02a8b3f2c701669d2d32ddf
---
modules/video_output/opengl.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/opengl.h b/modules/video_output/opengl.h
index cb79fbf..86758be 100644
--- a/modules/video_output/opengl.h
+++ b/modules/video_output/opengl.h
@@ -55,13 +55,13 @@
# include <GL/gl.h>
# endif
#else
-# if USE_OPENGL_ES
+# if !USE_OPENGL_ES
+# define MACOS_OPENGL
+# include <OpenGL/gl.h>
+# else
# include <OpenGLES/ES1/gl.h>
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
-# else
-# define MACOS_OPENGL
-# include <OpenGL/gl.h>
# endif
#endif
More information about the vlc-commits
mailing list