Add support for GLEW_INCLUDE to allow including glew.h from a custom location

This commit is contained in:
Nigel Stewart 2017-04-23 11:51:09 +10:00
parent 925722f910
commit a82b984534

View File

@ -1,4 +1,8 @@
#ifndef GLEW_INCLUDE
#include <GL/glew.h> #include <GL/glew.h>
#else
#include GLEW_INCLUDE
#endif
#if defined(GLEW_OSMESA) #if defined(GLEW_OSMESA)
# define GLAPI extern # define GLAPI extern