From 5ab9b39a6cf5c0161e9046d47d7d345d65d61e55 Mon Sep 17 00:00:00 2001 From: fayjf Date: Sun, 23 Sep 2007 14:29:06 +0000 Subject: [PATCH] Fixing a remaining bug in the multisampling change ... there may be more ... git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@727 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 f1438bf..3c7bfb6 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/src/freeglut_window.c @@ -894,7 +894,7 @@ void fgCloseWindow( SFG_Window* window ) #if TARGET_HOST_POSIX_X11 glXDestroyContext( fgDisplay.Display, window->Window.Context ); - XFree( window->Window.VisualInfo ); + XFree( window->Window.FBConfig ); XDestroyWindow( fgDisplay.Display, window->Window.Handle ); XFlush( fgDisplay.Display ); /* XXX Shouldn't need this */