diff options
author | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
commit | 4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 (patch) | |
tree | dd097af09126ce7d7e7b3bf3ff0cd3132cbd80b9 /src/demos/newt/NEWTTest1.java | |
parent | 35da0bfcb126c8b296a64274dcf5b757daa723d3 (diff) |
Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0
Diffstat (limited to 'src/demos/newt/NEWTTest1.java')
-rw-r--r-- | src/demos/newt/NEWTTest1.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/newt/NEWTTest1.java b/src/demos/newt/NEWTTest1.java index bcfff5a..23bc914 100644 --- a/src/demos/newt/NEWTTest1.java +++ b/src/demos/newt/NEWTTest1.java @@ -92,7 +92,7 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener Screen screen = NewtFactory.createScreen(display, 0); Window window = NewtFactory.createWindow(screen, caps); window.setTitle("GlassPrism"); - window.setHandleDestroyNotify(false); + // window.setHandleDestroyNotify(false); window.setUndecorated(false); window.setSize(256, 256); window.addKeyListener(this); @@ -105,7 +105,7 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener while (running) { - display.pumpMessages(); + display.dispatchMessages(); window.lockSurface(); try |