diff options
author | Sven Gothel <[email protected]> | 2013-01-11 08:14:49 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-11 08:14:49 +0100 |
commit | bdc2e57ffc91d88e187ded8c42335710448f50f0 (patch) | |
tree | 9c3cc6ac695fee30b8e0d074597781e3520f0381 /src/newt | |
parent | 224fab1b2c71464826594740022fdcbe278867dc (diff) |
Minor: GLWindow fix size validation; GLContextImpl: Remove hold ctx lock count constraints at destroy.
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/opengl/GLWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java index a89ccaedb..73a4134bd 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -548,7 +548,7 @@ public class GLWindow extends GLAutoDrawableBase implements GLAutoDrawable, Wind } finally { lock.unlock(); } - if( !done && 0<getWidth()*getHeight() ) { + if( !done && ( 0 < getWidth() && 0 < getHeight() ) ) { // retry drawable and context creation, will itself issue resize -> display setVisible(true); } |