From 4a77b439ca85a29c1cf5ac5043c4ef03c4206e0d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 23 Aug 2011 15:02:13 +0200 Subject: Fix Bug 500: gl.getGL4() fails even though the context is GL4 --- make/config/jogl/gl-impl-CustomJavaCode-desktop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') 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; -- cgit v1.2.3