Add GLFW_COCOA_GRAPHICS_SWICTHING
This provides control over whether the context should participate in
macOS Automatic Graphics Switching.
Closes #377.
Closes #935.
diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h
index 280138b..9bff088 100644
--- a/include/GLFW/glfw3.h
+++ b/include/GLFW/glfw3.h
@@ -852,6 +852,7 @@
#define GLFW_COCOA_RETINA_FRAMEBUFFER 0x00023001
#define GLFW_COCOA_FRAME_AUTOSAVE 0x00023002
+#define GLFW_COCOA_GRAPHICS_SWITCHING 0x00023003
/*! @} */
#define GLFW_NO_API 0