From: John F. Fay Date: Mon, 25 Sep 2006 14:27:10 +0000 (+0000) Subject: Fixing a typo bug in the display mode checking (removing multisampling if it is not... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=de588727adb1064b78cdcd3653d1058e23d9d132;hp=9452a820ee4982b4c652d8e1538d0981ad48f200;p=freeglut Fixing a typo bug in the display mode checking (removing multisampling if it is not supported) git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@709 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_window.c b/src/freeglut_window.c index c60aee0..0d2705a 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -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; } }