From 93692f497d4a9bdfe70d285facbf56e20906c286 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 20 Aug 2019 22:45:40 +0100 Subject: [PATCH] Document that CGL lacks extensions in getExtensionsString --- gl-natives/src/main/c/jaggl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gl-natives/src/main/c/jaggl.c b/gl-natives/src/main/c/jaggl.c index 946363b520..8dfc9a0b89 100644 --- a/gl-natives/src/main/c/jaggl.c +++ b/gl-natives/src/main/c/jaggl.c @@ -759,6 +759,7 @@ JNIEXPORT jstring JNICALL Java_jaggl_context_getExtensionsString(JNIEnv *env, jc extensions_str = ""; } #elif defined(__APPLE__) && defined(__MACH__) + /* CGL doesn't have extensions */ extensions_str = ""; #else #error Unsupported platform