]> git.sesse.net Git - vlc/commitdiff
opengl build fix for os x
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 30 Jun 2012 12:00:49 +0000 (15:00 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 30 Jun 2012 12:01:09 +0000 (15:01 +0300)
modules/video_output/opengl.h

index cb79fbf8dfe3cfd63998faccfa581562ac242747..86758be5c7f076fbf0e3ed81065e2c4dfe66fa52 100644 (file)
 #  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