Commit e834f5fc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OpenGL: fix Win32 compilation

parent 093bcba4
...@@ -41,12 +41,8 @@ ...@@ -41,12 +41,8 @@
# elif USE_OPENGL_ES == 1 # elif USE_OPENGL_ES == 1
# include <GLES/glext.h> # include <GLES/glext.h>
# else # else
# if defined(WIN32)
# include <GL/glew.h>
# else
# include <GL/glext.h> # include <GL/glext.h>
# endif # endif
# endif
#else #else
# if USE_OPENGL_ES == 2 # if USE_OPENGL_ES == 2
# include <OpenGLES/ES2/gl.h> # include <OpenGLES/ES2/gl.h>
......
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
# elif USE_OPENGL_ES == 1 # elif USE_OPENGL_ES == 1
# include <GLES/gl.h> # include <GLES/gl.h>
# else # else
# ifdef WIN32
# include <GL/glew.h>
# endif
# include <GL/gl.h> # include <GL/gl.h>
# endif # endif
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment