Note the release of 2.2.0 RC1
[freeglut] / 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
 }