mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 22:55:06 +00:00
Generate Sources of origin/master updated at Thu Sep 1 17:46:17 GMT 2016
This commit is contained in:
parent
2f22768eb3
commit
81af57f72e
@ -38,6 +38,14 @@
|
||||
#elif defined(GLEW_EGL)
|
||||
# include <GL/eglew.h>
|
||||
#elif defined(_WIN32)
|
||||
/*
|
||||
* If NOGDI is defined, wingdi.h won't be included by windows.h, and thus
|
||||
* wglGetProcAddress won't be declared. It will instead be implicitly declared,
|
||||
* potentially incorrectly, which we don't want.
|
||||
*/
|
||||
# if defined(NOGDI)
|
||||
# undef NOGDI
|
||||
# endif
|
||||
# include <GL/wglew.h>
|
||||
#elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
|
||||
# include <GL/glxew.h>
|
||||
|
Loading…
Reference in New Issue
Block a user