Update core.c

Fix issue from merge
This commit is contained in:
hristo 2020-12-29 14:46:56 +02:00 committed by GitHub
parent 0958b7e133
commit c361ad0c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1035,8 +1035,7 @@ void ToggleFullscreen(void)
return;
}
const GLFWvidmode *mode = glfwGetVideoMode(monitor)
const GLFWvidmode *mode = glfwGetVideoMode(monitor);
glfwSetWindowSizeCallback(CORE.Window.handle, NULL);
glfwSetWindowMonitor(CORE.Window.handle, monitor, 0, 0, CORE.Window.screen.width, CORE.Window.screen.height, mode->refreshRate);
glfwSetWindowSizeCallback(CORE.Window.handle, WindowSizeCallback);