]> git.sesse.net Git - vlc/commitdiff
opengl: Move includes at the begining.
authorPierre d'Herbemont <pdherbemont@free.fr>
Fri, 21 Aug 2009 01:08:13 +0000 (03:08 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Fri, 21 Aug 2009 01:08:13 +0000 (03:08 +0200)
modules/video_output/opengl.c

index 1887cdb7cfc59425d34d591723c47d08c86a759b..9050d5e8299cfda7cc0774ecf402738c6d6bdd30 100644 (file)
@@ -41,6 +41,8 @@
 #ifdef __APPLE__
 # include <OpenGL/gl.h>
 # include <OpenGL/glext.h>
+#else
+# include <GL/gl.h>
 #endif
 
 #ifndef YCBCR_MESA
@@ -67,7 +69,6 @@
 # define VLCGL_TYPE   GL_UNSIGNED_SHORT_8_8_APPLE
 #else
 
-# include <GL/gl.h>
 # define VLCGL_TARGET GL_TEXTURE_2D
 
 /* RV32 */