]> git.sesse.net Git - vlc/commitdiff
Win32: we need GLew.h before GL.h with the headers we are using
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 1 Jul 2012 15:15:29 +0000 (17:15 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 1 Jul 2012 15:18:47 +0000 (17:18 +0200)
This is probably not perfect, but our contribs header need that

modules/video_output/opengl.h

index b87c6bbcb3a429cd530c6c917f10e2b8ce7ed5a3..f3e9372275721fd91752c3c9d276cd10b834dcb9 100644 (file)
@@ -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