Revert X11 fgCloseWindow to 1.38 pre-offscreen implementation.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@486 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
154a985699
commit
4e304b51b9
@ -628,9 +628,7 @@ void fgCloseWindow( SFG_Window* window )
|
||||
#if TARGET_HOST_UNIX_X11
|
||||
|
||||
glXDestroyContext( fgDisplay.Display, window->Window.Context );
|
||||
glXDestroyGLXPixmap( fgDisplay.Display, window->Window.Handle );
|
||||
XFreePixmap( fgDisplay.Display, window->Window.Pixmap );
|
||||
|
||||
XDestroyWindow( fgDisplay.Display, window->Window.Handle );
|
||||
XFlush( fgDisplay.Display ); /* XXX Shouldn't need this */
|
||||
|
||||
#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
|
||||
|
Reference in New Issue
Block a user