Explicitly choose closest policy.

This commit is contained in:
Camilla Berglund 2013-05-02 17:35:09 +02:00
parent fa35d701a7
commit b0e66c925c
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ int _glfwCreateContext(_GLFWwindow* window,
NSOpenGLPixelFormatAttribute attributes[40];
ADD_ATTR(NSOpenGLPFADoubleBuffer);
ADD_ATTR(NSOpenGLPFAClosestPolicy);
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
if (wndconfig->glMajor > 2)