aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/awt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-18 03:34:50 +0100
committerSven Gothel <[email protected]>2010-12-18 03:34:50 +0100
commitd2f790f0fdc58bfdce66ceced3712cece26df4d5 (patch)
tree4512477faffeb65ae8d72dadd3e1dc47d1a8a41a /src/jogl/classes/javax/media/opengl/awt
parentb45c57bf6cb9dd16313750d5609311f388dcf277 (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/awt')
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLCanvas.java4
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());