aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-23 15:02:13 +0200
committerSven Gothel <[email protected]>2011-08-23 15:02:13 +0200
commit4a77b439ca85a29c1cf5ac5043c4ef03c4206e0d (patch)
tree8044ec2c3ca1b7de576c7773b2ae77053b34ece8
parent2bf46093aa45a5948c200a7e83b130a636a7cd37 (diff)
Fix Bug 500: gl.getGL4() fails even though the context is GL4
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-desktop.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-desktop.java b/make/config/jogl/gl-impl-CustomJavaCode-desktop.java
index 34013209f..08b981af7 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-desktop.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-desktop.java
@@ -52,7 +52,7 @@
}
public final GL4 getGL4() throws GLException {
- if(!isGL4bc()) {
+ if(!isGL4()) {
throw new GLException("Not a GL4 implementation");
}
return this;