From 1101bb7b230981669c37f53a077c89e2bb67520a Mon Sep 17 00:00:00 2001 From: rkrolib Date: Sat, 7 Feb 2004 12:12:46 +0000 Subject: [PATCH] ...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 --- freeglut/freeglut/src/freeglut_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_window.c b/freeglut/freeglut/src/freeglut_window.c index 2fc1d29..67b94c3 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/src/freeglut_window.c @@ -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,