Fixed windows compilation problem with last update.
authorChristopher John Purnell <cjp@lost.org.uk>
Fri, 28 Nov 2003 12:04:24 +0000 (12:04 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Fri, 28 Nov 2003 12:04:24 +0000 (12:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@370 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_window.c

index c9d73ea..07422f7 100644 (file)
@@ -581,7 +581,7 @@ void fgCloseWindow( SFG_Window* window )
             wglDeleteContext( window->Window.Context );
     }
 
-    DestroyWindow( hWnd );
+    DestroyWindow( window->Window.Handle );
 #endif
 }