mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 07:34:35 +00:00
Explicitly choose closest policy.
This commit is contained in:
parent
fa35d701a7
commit
b0e66c925c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user