aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-04 04:55:08 +0100
committerSven Gothel <[email protected]>2010-12-04 04:55:08 +0100
commita2dcc8ca81b5dc5fd793c3c85ec415494ec42860 (patch)
tree51dc51c884dc2c760a05df17fef11b9bcf165778 /src
parent539ec0fb0d657a1094b835c767d7f1c6c3de6ec9 (diff)
Fix: Typo unlock() -> lock() .. oops
Diffstat (limited to 'src')
-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));