mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Cocoa: Fix call to NSWindow from non-main threads
glfwSwapBuffers may be called by any thread but NSWindow may not. Bug introduced byc3ca88055fand reported by @crujose. (cherry picked from commit949275bbed)
This commit is contained in:
committed by
Camilla Löwy
parent
404c28df3d
commit
6e01359e36
@@ -121,6 +121,7 @@ typedef struct _GLFWwindowNS
|
||||
id layer;
|
||||
|
||||
GLFWbool maximized;
|
||||
GLFWbool occluded;
|
||||
GLFWbool retina;
|
||||
|
||||
// Cached window properties to filter out duplicate events
|
||||
|
||||
Reference in New Issue
Block a user