mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Add GLFW_COCOA_GRAPHICS_SWICTHING
This provides control over whether the context should participate in macOS Automatic Graphics Switching. Closes #377. Closes #935.
This commit is contained in:
@@ -303,6 +303,9 @@ struct _GLFWctxconfig
|
||||
int robustness;
|
||||
int release;
|
||||
_GLFWwindow* share;
|
||||
struct {
|
||||
GLFWbool offline;
|
||||
} nsgl;
|
||||
};
|
||||
|
||||
/*! @brief Framebuffer configuration.
|
||||
|
||||
Reference in New Issue
Block a user