...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:
parent
488cb701ab
commit
1101bb7b23
@ -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,
|
||||
|
Reference in New Issue
Block a user