Explicitly choose closest policy.

This commit is contained in:
Camilla Berglund 2013-05-02 17:35:09 +02:00
parent fa35d701a7
commit b0e66c925c

View File

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