Fix for system glew
This commit is contained in:
parent
3e2a8bc56f
commit
3a3953f38c
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user