From 3349511aeb68c1228e420b3c1ea1758bb75d3e03 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 31 Jul 2011 20:38:09 +0200 Subject: GLWindow::main(): show requested/chosen GLCaps --- src/newt/classes/com/jogamp/newt/opengl/GLWindow.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java index d8eda923a..95c994d6e 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -876,13 +876,13 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer, FPSC System.err.println(JoglVersion.getInstance()); System.err.println(NewtVersion.getInstance()); - GLProfile glp = GLProfile.getDefault(); - GLDrawableFactory factory = GLDrawableFactory.getFactory(glp); - List/**/ availCaps = factory.getAvailableCapabilities(null); + final GLProfile glp = GLProfile.getDefault(); + final GLDrawableFactory factory = GLDrawableFactory.getFactory(glp); + final List/**/ availCaps = factory.getAvailableCapabilities(null); for(int i=0; i