* XXX simplify this.
*/
if( !window->IsMenu )
- window->Window.VisualInfo = fgChooseVisual( );
+ window->Window.VisualInfo = fgChooseVisual( );
else if( fgStructure.MenuContext )
window->Window.VisualInfo = fgChooseVisual( );
else
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,