aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2013-01-18 00:22:14 +0100
committerJulien Gouesse <[email protected]>2013-01-18 00:22:14 +0100
commit17f4185ffd5b51c9509638b42e28bb9728a6a19b (patch)
treee0cb0f1e6441ae2d849b65e859d493a9462aab61
parent184657530ab8dae197a015c219be14640379fc18 (diff)
Adds a workaround for a regression in the build 896 impacting at least JoglAwtCanvas
-rw-r--r--ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglInitializerRunnable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglInitializerRunnable.java b/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglInitializerRunnable.java
index 2a93f38..f5c4f28 100644
--- a/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglInitializerRunnable.java
+++ b/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglInitializerRunnable.java
@@ -25,6 +25,7 @@ public class JoglInitializerRunnable implements Runnable {
@Override
public void run() {
+ _joglAwtCanvas.setExclusiveContextThread(Thread.currentThread());
// Make the window visible to realize the OpenGL surface.
_joglAwtCanvas.setVisible(true);
// Force the realization