diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newt/classes/jogamp/newt/WindowImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java index 6daca16c3..defcc515f 100644 --- a/src/newt/classes/jogamp/newt/WindowImpl.java +++ b/src/newt/classes/jogamp/newt/WindowImpl.java @@ -2213,10 +2213,10 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer @Override public final void setMaximized(boolean horz, boolean vert) { if( isNativeValid() ) { - if( horz && !isReconfigureMaskSupported(STATE_BIT_MAXIMIZED_HORZ) ) { + if( horz && !isReconfigureMaskSupported(STATE_MASK_MAXIMIZED_HORZ) ) { horz = false; } - if( vert && !isReconfigureMaskSupported(STATE_BIT_MAXIMIZED_VERT) ) { + if( vert && !isReconfigureMaskSupported(STATE_MASK_MAXIMIZED_VERT) ) { vert = false; } } |