Part one of fixing bug 3058987 -- the 'freeglut_patch_visual_info.diff' changes
[freeglut] / src / freeglut_state.c
index 589f8ff..9126c4f 100644 (file)
@@ -320,7 +320,7 @@ int FGAPIENTRY glutGet( GLenum eWhat )
         GLXFBConfig * fbconfig;
         int isPossible;
 
-        fbconfig = fgChooseFBConfig();
+        fbconfig = fgChooseFBConfig(NULL);
 
         if (fbconfig == NULL)
         {