From 1014e9f3d2abe7693169cd31caa91c19f8ee5ee7 Mon Sep 17 00:00:00 2001 From: gkw Date: Fri, 29 Oct 2004 18:15:41 +0000 Subject: Removed redundant code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@163 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/net/java/games/jogl/impl/windows') 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(); } -- cgit v1.2.3