From 97631dca3c4d36496717438f12fae609e6bafc63 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 9 Feb 2011 06:58:42 +0100 Subject: Fix code style --- .../opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl') diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java index 7e3de8abb..7a3be9edb 100644 --- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java @@ -155,8 +155,9 @@ public class WindowsWGLGraphicsConfigurationFactory extends GLGraphicsConfigurat for (int i = 0; i < numFormats; i++) { WGLGLCapabilities wglglcapabilities = WindowsWGLGraphicsConfiguration.PFD2GLCapabilities(glProfile, hdc, pformats[i], onscreen); // formats that don't draw to a window come back null; don't add them or they'll crash debug output - if( wglglcapabilities != null ) + if( null != wglglcapabilities ) { bucket.add( wglglcapabilities ); + } } return bucket; } -- cgit v1.2.3