mirror of
https://github.com/glfw/glfw.git
synced 2025-04-11 07:47:04 +00:00
Explicitly choose closest policy.
This commit is contained in:
parent
fa35d701a7
commit
b0e66c925c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue