mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
Add support for GLEW_INCLUDE to allow including glew.h from a custom location
This commit is contained in:
parent
925722f910
commit
a82b984534
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user