Remove _glfwInputWindowMonitor from win32_window.c

This commit is contained in:
A. Tombs 2019-05-28 01:31:31 +01:00 committed by GitHub
parent 1c6b60e9c0
commit cb3bc2dd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1723,7 +1723,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
if (window->monitor)
releaseMonitor(window);
_glfwInputWindowMonitor(window, monitor);
window->monitor = monitor;
if (window->monitor)
{