Fixing a typo bug in the display mode checking (removing multisampling if it is not...
authorJohn F. Fay <johnffay@nettally.com>
Mon, 25 Sep 2006 14:27:10 +0000 (14:27 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Mon, 25 Sep 2006 14:27:10 +0000 (14:27 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@709 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_window.c

index c60aee0..0d2705a 100644 (file)
@@ -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;
         }
     }