From 38370f4636b218e4bc773008694441b8dd53d098 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 31 May 2019 20:24:30 +0300 Subject: Fix redefine GL_GLEXT_VERSION issue in SDL 2 --- src/resources/fboinfo.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources') 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 #elif !defined(__native_client__) +// avoid SDL 2 issue +#ifdef GL_GLEXT_VERSION +#undef GL_GLEXT_VERSION +#endif #include #endif // defined(__APPLE__) #endif // ANDROID -- cgit v1.2.3-60-g2f50