Commit 9aef14d5 authored by Rafaël Carré's avatar Rafaël Carré

opengl: fix win32 build

it is not clear how glew(Active)ClientTexture should be acceeded,
do not use the broken glew 'shortcut' for these functions
parent 2b004056
......@@ -55,6 +55,10 @@
# else
# ifdef WIN32
# include <GL/glew.h>
# undef glClientActiveTexture
# undef glActiveTexture
PFNGLACTIVETEXTUREPROC glActiveTexture;
PFNGLCLIENTACTIVETEXTUREPROC glClientActiveTexture;
# endif
# include <GL/gl.h>
# endif
......
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