We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0502bdf + 9fca5a9 commit a442f70Copy full SHA for a442f70
1 file changed
src/main/cpp/gl/getter.cpp
@@ -269,9 +269,13 @@ const GLubyte * glGetString( GLenum name ) {
269
return (const GLubyte *) "4.60 MobileGlues with glslang and SPIRV-Cross";
270
}
271
case GL_EXTENSIONS: {
272
+#if !defined(__APPLE__)
273
static std::string cached;
274
cached = GetExtensionsList();
275
return (const GLubyte *) cached.c_str();
276
+#else
277
+ return (const GLubyte *) GetExtensionsList().c_str();
278
+#endif
279
280
case GL_SETTINGS_MG: {
281
static char* settings_string = nullptr;
0 commit comments