Fix for system glew

This commit is contained in:
Deve 2018-11-21 21:07:55 +01:00
parent 3e2a8bc56f
commit 3a3953f38c

View File

@ -25,6 +25,9 @@
extern "C" { extern "C" {
#if !defined(USE_GLES2) #if !defined(USE_GLES2)
# include <GL/glew.h> # include <GL/glew.h>
// This is a workaround for mesa drivers that now use __gl_glext_h_ instead of
// __glext_h_ in header file which is not defined in current glew version
# define __gl_glext_h_
#endif #endif
} }
#include <cinttypes> #include <cinttypes>