diff options
author | gkw <[email protected]> | 2004-10-29 18:15:41 +0000 |
---|---|---|
committer | gkw <[email protected]> | 2004-10-29 18:15:41 +0000 |
commit | 1014e9f3d2abe7693169cd31caa91c19f8ee5ee7 (patch) | |
tree | cef6c29ac8dfc6ffa9e97f4dbfbbde95bb0b6f05 /src/net/java/games | |
parent | f829ae41b387b86ac191f9db0acd69166d3a6aa7 (diff) |
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
Diffstat (limited to 'src/net/java/games')
-rw-r--r-- | src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java | 8 |
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(); } |