diff options
Diffstat (limited to 'src/native')
-rw-r--r-- | src/native/ogl/Canvas3D.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/native/ogl/Canvas3D.c b/src/native/ogl/Canvas3D.c index 39d328c..0d50ff1 100644 --- a/src/native/ogl/Canvas3D.c +++ b/src/native/ogl/Canvas3D.c @@ -613,6 +613,9 @@ getPropertiesFromCurrentContext( if (versionNumbers[1] == 2) { fprintf(stderr, "JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality\n"); + } else if (versionNumbers[1] == 4) { + ctxInfo->gl14 = JNI_TRUE; + ctxInfo->gl13 = JNI_TRUE; } else { // OpenGL 1.x (1.3 or greater) ctxInfo->gl13 = JNI_TRUE; |