From 13f053b6ced63e8e453f8357a556bd045d7a260c Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 24 Sep 2007 23:07:07 +0000 Subject: [PATCH] select largest available depth bits etc. --- panda/src/osxdisplay/osxGraphicsStateGuardian.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/panda/src/osxdisplay/osxGraphicsStateGuardian.cxx b/panda/src/osxdisplay/osxGraphicsStateGuardian.cxx index b09283dc01..dbb133452d 100644 --- a/panda/src/osxdisplay/osxGraphicsStateGuardian.cxx +++ b/panda/src/osxdisplay/osxGraphicsStateGuardian.cxx @@ -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);