diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newt/classes/jogamp/newt/PointerIconImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/PointerIconImpl.java b/src/newt/classes/jogamp/newt/PointerIconImpl.java index 57f613fea..a4d4c8586 100644 --- a/src/newt/classes/jogamp/newt/PointerIconImpl.java +++ b/src/newt/classes/jogamp/newt/PointerIconImpl.java @@ -125,7 +125,7 @@ public class PointerIconImpl implements PointerIcon { } display.runOnEDTIfAvail(false, new Runnable() { public void run() { - if( !display.isNativeValidAsync() ) { + if( display.isNativeValidAsync() ) { destroyOnEDT(display.getHandle()); } } } ); |