diff options
author | Sven Gothel <[email protected]> | 2011-02-09 06:58:42 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-09 06:58:42 +0100 |
commit | 97631dca3c4d36496717438f12fae609e6bafc63 (patch) | |
tree | fae41161c2f2845e30f9b7e16f0401544f9e55a3 | |
parent | d1afec176d99fa6dc185cd83da33820655335903 (diff) |
Fix code style
-rw-r--r-- | src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |