mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Increased Cocoa pixel format attribute array size.
This commit is contained in:
parent
c2a2114590
commit
29d38c3b64
|
@ -728,7 +728,7 @@ static GLboolean createContext(_GLFWwindow* window,
|
|||
#define ADD_ATTR2(x, y) { ADD_ATTR(x); ADD_ATTR(y); }
|
||||
|
||||
// Arbitrary array size here
|
||||
NSOpenGLPixelFormatAttribute attributes[24];
|
||||
NSOpenGLPixelFormatAttribute attributes[40];
|
||||
|
||||
ADD_ATTR(NSOpenGLPFADoubleBuffer);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user