...AND a tab snuck into my changes for GLUT_OFFSCREEN support. Mea culpa.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@458 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
rkrolib 2004-02-07 12:12:46 +00:00
parent 488cb701ab
commit 1101bb7b23

View File

@ -268,7 +268,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
* XXX simplify this.
*/
if( !window->IsMenu )
window->Window.VisualInfo = fgChooseVisual( );
window->Window.VisualInfo = fgChooseVisual( );
else if( fgStructure.MenuContext )
window->Window.VisualInfo = fgChooseVisual( );
else
@ -310,7 +310,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
window->State.IsOffscreen = GL_FALSE;
if( fgState.DisplayMode & GLUT_OFFSCREEN )
{
window->State.IsOffscreen = GL_TRUE;
window->State.IsOffscreen = GL_TRUE;
window->Window.Pixmap = XCreatePixmap(
fgDisplay.Display, fgDisplay.RootWindow,
w, h,