diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-31 20:24:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-31 20:24:30 +0300 |
commit | 38370f4636b218e4bc773008694441b8dd53d098 (patch) | |
tree | 0848798fc184d81504eb47da164f654c203f629a /src/resources | |
parent | 9107f9659cc25c3e85f2cdd293804a3bd2b5f777 (diff) | |
download | plus-38370f4636b218e4bc773008694441b8dd53d098.tar.gz plus-38370f4636b218e4bc773008694441b8dd53d098.tar.bz2 plus-38370f4636b218e4bc773008694441b8dd53d098.tar.xz plus-38370f4636b218e4bc773008694441b8dd53d098.zip |
Fix redefine GL_GLEXT_VERSION issue in SDL 2
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/fboinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h index 9bd4b8e13..e18e9b938 100644 --- a/src/resources/fboinfo.h +++ b/src/resources/fboinfo.h @@ -36,6 +36,10 @@ PRAGMA48(GCC diagnostic pop) #if defined(__APPLE__) #include <OpenGL/glext.h> #elif !defined(__native_client__) +// avoid SDL 2 issue +#ifdef GL_GLEXT_VERSION +#undef GL_GLEXT_VERSION +#endif #include <GL/glext.h> #endif // defined(__APPLE__) #endif // ANDROID |