[vlc-devel] commit: opengl: Move includes at the begining. (Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 21 03:08:29 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Aug 21 03:08:13 2009 +0200| [6391f64159714a0e172cdefbe02a9a6bc1206930] | committer: Pierre d'Herbemont 

opengl: Move includes at the begining.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6391f64159714a0e172cdefbe02a9a6bc1206930
---

 modules/video_output/opengl.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 1887cdb..9050d5e 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -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 */




More information about the vlc-devel mailing list