mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Increased Cocoa pixel format attribute array size.
This commit is contained in:
+1
-1
@@ -728,7 +728,7 @@ static GLboolean createContext(_GLFWwindow* window,
|
|||||||
#define ADD_ATTR2(x, y) { ADD_ATTR(x); ADD_ATTR(y); }
|
#define ADD_ATTR2(x, y) { ADD_ATTR(x); ADD_ATTR(y); }
|
||||||
|
|
||||||
// Arbitrary array size here
|
// Arbitrary array size here
|
||||||
NSOpenGLPixelFormatAttribute attributes[24];
|
NSOpenGLPixelFormatAttribute attributes[40];
|
||||||
|
|
||||||
ADD_ATTR(NSOpenGLPFADoubleBuffer);
|
ADD_ATTR(NSOpenGLPFADoubleBuffer);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user