From 5b391a7097466a8bcf010b47759868cc530f70e8 Mon Sep 17 00:00:00 2001 From: cjp Date: Fri, 28 Nov 2003 12:04:24 +0000 Subject: [PATCH] Fixed windows compilation problem with last update. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@370 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_window.c b/freeglut/freeglut/src/freeglut_window.c index c9d73ea..07422f7 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/src/freeglut_window.c @@ -581,7 +581,7 @@ void fgCloseWindow( SFG_Window* window ) wglDeleteContext( window->Window.Context ); } - DestroyWindow( hWnd ); + DestroyWindow( window->Window.Handle ); #endif }