vlc | branch: master | Laurent Aimar <[email protected]> | Sun May 29 11:55:30 2011 +0200| [cd781fa65bde38ac2fae9ecbde712835ce058984] | committer: Laurent Aimar
Fixed opengl compilation for win32 and maybe some linux setup. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd781fa65bde38ac2fae9ecbde712835ce058984 --- modules/video_output/opengl.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c index 9ccfeae..fafa97a 100644 --- a/modules/video_output/opengl.c +++ b/modules/video_output/opengl.c @@ -40,8 +40,12 @@ # include <GLES2/gl2ext.h> # elif USE_OPENGL_ES == 1 # include <GLES/glext.h> -//# else -//# include <GL/glext.h> +# else +# if defined(WIN32) +# include <GL/glew.h> +# else +# include <GL/glext.h> +# endif # endif #else # if USE_OPENGL_ES == 2 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
