select largest available depth bits etc.

This commit is contained in:
David Rose 2007-09-24 23:07:07 +00:00
parent b085182102
commit 13f053b6ce

View File

@ -237,6 +237,11 @@ buildGL(osxGraphicsWindow &window, bool full_screen,
attrib.push_back(AGL_PBUFFER);
}
// Request the largest buffer available that meets the minimum
// requirements specified.
attrib.push_back(AGL_MINIMUM_POLICY);
attrib.push_back(AGL_MAXIMUM_POLICY);
// Terminate the list.
attrib.push_back(AGL_NONE);