Fixed bug #252: menu windows are drawn with immediate mode and the fixed
[freeglut] / src / mswin / fg_window_mswin.c
index 69a698d..f622630 100644 (file)
@@ -145,7 +145,7 @@ void fgNewWGLCreateContext( SFG_Window* window )
     PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;
 
     /* If nothing fancy has been required, leave the context as it is */
-    if ( fghIsLegacyContextRequested() )
+    if ( fghIsLegacyContextRequested(window) )
     {
         return;
     }