diff options
author | Sven Gothel <sgothel@jausoft.com> | 2010-12-18 03:34:50 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2010-12-18 03:34:50 +0100 |
commit | d2f790f0fdc58bfdce66ceced3712cece26df4d5 (patch) | |
tree | 4512477faffeb65ae8d72dadd3e1dc47d1a8a41a /src/jogl/classes/javax/media/opengl | |
parent | b45c57bf6cb9dd16313750d5609311f388dcf277 (diff) |
GLCanvas: init drawable by paint/display makes the init sequence more equal for all launch flavors (applet/javaws/..)
Diffstat (limited to 'src/jogl/classes/javax/media/opengl')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/awt/GLCanvas.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java index fac6657d4..1329977b2 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java @@ -512,7 +512,9 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable { // after native peer is valid: Windows disableBackgroundErase(); - validateGLDrawable(); + // init drawable by paint/display makes the init sequence more equal + // for all launch flavors (applet/javaws/..) + // validateGLDrawable(); if(DEBUG) { System.err.println(Thread.currentThread().getName()+" - Info: addNotify - end: peer: "+getPeer()); |