aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-16 06:00:36 +0100
committerSven Gothel <[email protected]>2010-12-16 06:00:36 +0100
commitdcd98e8c38523b8220d4628ca1b8403d07e09954 (patch)
treed43999d78ae0cdc84a3213927172cbd5473c32c9
parentad5ecd65484952ec462c560877600c66c95e873a (diff)
Version Applet: set GLCanvas size, otherwise it won't realize GL drawable
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java b/src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java
index e306fe681..5c2aec37b 100644
--- a/src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java
+++ b/src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java
@@ -48,6 +48,7 @@ public class VersionApplet extends Applet {
GLCanvas canvas = new GLCanvas();
canvas.addGLEventListener(new GLInfo());
+ canvas.setSize(10, 10);
add(canvas, BorderLayout.SOUTH);
System.err.println("VersionApplet: init() - end");
}