[vlc-commits] Win32: we need GLew.h before GL.h with the headers we are using

Jean-Baptiste Kempf git at videolan.org
Sun Jul 1 15:21:29 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul  1 17:15:29 2012 +0200| [81767a936eb66e7284fab6339205b598c052eb40] | committer: Jean-Baptiste Kempf

Win32: we need GLew.h before GL.h with the headers we are using

This is probably not perfect, but our contribs header need that

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

 modules/video_output/opengl.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/opengl.h b/modules/video_output/opengl.h
index b87c6bb..f3e9372 100644
--- a/modules/video_output/opengl.h
+++ b/modules/video_output/opengl.h
@@ -53,6 +53,9 @@
 # elif USE_OPENGL_ES == 1
 #  include <GLES/gl.h>
 # else
+#  ifdef WIN32
+#   include <GL/glew.h>
+#  endif
 #  include <GL/gl.h>
 # endif
 #endif



More information about the vlc-commits mailing list