aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/javax')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index 9c8d44af8..c7b1e80cf 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -1302,7 +1302,7 @@ public class GLProfile {
AbstractGraphicsDevice nativeDevice = ctx.getGLDrawable().getNativeSurface()
.getGraphicsConfiguration().getNativeGraphicsConfiguration()
.getScreen().getDevice();
- nativeDevice.unlock();
+ nativeDevice.lock();
try {
ctx.makeCurrent();
System.err.println(JoglVersion.getGLInfo(ctx.getGL(), null));