mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 08:43:49 +00:00
Extend GLEW_INCLUDE support to eglew.h and glxew.h
This commit is contained in:
parent
154f83e024
commit
47588720ee
@ -27,7 +27,11 @@
|
||||
#include <KHR/khrplatform.h>
|
||||
#include <EGL/eglplatform.h>
|
||||
|
||||
#include <GL/glew.h>
|
||||
#ifndef GLEW_INCLUDE
|
||||
# include <GL/glew.h>
|
||||
#else
|
||||
# include GLEW_INCLUDE
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef GLEW_INCLUDE
|
||||
#include <GL/glew.h>
|
||||
# include <GL/glew.h>
|
||||
#else
|
||||
#include GLEW_INCLUDE
|
||||
# include GLEW_INCLUDE
|
||||
#endif
|
||||
|
||||
#if defined(GLEW_OSMESA)
|
||||
|
@ -19,7 +19,12 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xmd.h>
|
||||
#include <GL/glew.h>
|
||||
|
||||
#ifndef GLEW_INCLUDE
|
||||
# include <GL/glew.h>
|
||||
#else
|
||||
# include GLEW_INCLUDE
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user