|
|
|
@ -213,10 +213,10 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, |
|
|
|
|
window->videoMode.refreshRate = Max(_glfw.hints.refreshRate, 0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
window->monitor = wndconfig.monitor; |
|
|
|
|
window->resizable = wndconfig.resizable; |
|
|
|
|
window->decorated = wndconfig.decorated; |
|
|
|
|
window->cursorMode = GLFW_CURSOR_NORMAL; |
|
|
|
|
window->monitor = wndconfig.monitor; |
|
|
|
|
window->resizable = wndconfig.resizable; |
|
|
|
|
window->decorated = wndconfig.decorated; |
|
|
|
|
window->cursorMode = GLFW_CURSOR_NORMAL; |
|
|
|
|
|
|
|
|
|
// Save the currently current context so it can be restored later
|
|
|
|
|
previous = (_GLFWwindow*) glfwGetCurrentContext(); |
|
|
|
|