Update GLFW from upstream

This commit is contained in:
Kovid Goyal
2018-09-04 09:49:18 +05:30
parent e630b76fac
commit f5cc2fd8ad
10 changed files with 385 additions and 147 deletions

3
glfw/window.c vendored
View File

@@ -393,6 +393,9 @@ GLFWAPI void glfwWindowHint(int hint, int value)
case GLFW_COCOA_GRAPHICS_SWITCHING:
_glfw.hints.context.nsgl.offline = value ? GLFW_TRUE : GLFW_FALSE;
return;
case GLFW_SCALE_TO_MONITOR:
_glfw.hints.window.scaleToMonitor = value ? GLFW_TRUE : GLFW_FALSE;
return;
case GLFW_CENTER_CURSOR:
_glfw.hints.window.centerCursor = value ? GLFW_TRUE : GLFW_FALSE;
return;