diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/jogl/javax/media/j3d/JoglPipeline.java | 1 | ||||
-rw-r--r-- | src/native/ogl/Canvas3D.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java index 6d7ba95..9d8a678 100644 --- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java +++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java @@ -8424,6 +8424,7 @@ class JoglPipeline extends Pipeline { System.err.println("JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality"); } else if ( minor == 4 ) { gl14 = true; + gl13 = true; } else { gl13 = true; 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; |