Fixing a typo bug in the display mode checking (removing multisampling if it is not supported)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@709 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
490ada7091
commit
6fbecfbb6f
@ -437,7 +437,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
|
||||
{
|
||||
fgState.DisplayMode &= ~GLUT_MULTISAMPLE ;
|
||||
window->Window.VisualInfo = fgChooseVisual( );
|
||||
fgState.DisplayMode &= GLUT_MULTISAMPLE;
|
||||
fgState.DisplayMode |= GLUT_MULTISAMPLE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user