summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/impl')
-rw-r--r--src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
index 0f4b1d03c..a4f588158 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
@@ -265,13 +265,7 @@ public class WindowsGLContextFactory extends GLContextFactory {
// Create a native window and device context
HWND = WGL.CreateDummyWindow( rectangle.x, rectangle.y, rectangle.width, rectangle.height );
HDC = WGL.GetDC( HWND );
- // Pause this thread until JVM shutdown
- try {
- synchronized( this ) {
- wait();
- }
- } catch( InterruptedException e ) {
- }
+
// Start the message pump at shutdown
WGL.NativeEventLoop();
}