Fixing a remaining bug in the multisampling change ... there may be more ...
authorJohn F. Fay <johnffay@nettally.com>
Sun, 23 Sep 2007 14:29:06 +0000 (14:29 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 23 Sep 2007 14:29:06 +0000 (14:29 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@727 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_window.c

index f1438bf..3c7bfb6 100644 (file)
@@ -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 */