From dcd98e8c38523b8220d4628ca1b8403d07e09954 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 16 Dec 2010 06:00:36 +0100 Subject: Version Applet: set GLCanvas size, otherwise it won't realize GL drawable --- src/newt/classes/com/jogamp/newt/impl/awt/opengl/VersionApplet.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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"); } -- cgit v1.2.3