From: John F. Fay Date: Sun, 23 Sep 2007 14:29:06 +0000 (+0000) Subject: Fixing a remaining bug in the multisampling change ... there may be more ... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=8c2099b6c2e5c34794d9648a7122dc54a04a1a1a;hp=1b9a554a58e5595d9512540df60a3d681dc784a9;p=freeglut Fixing a remaining bug in the multisampling change ... there may be more ... git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@727 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index f1438bf..3c7bfb6 100644 --- a/src/freeglut_window.c +++ b/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 */