GLFW: Remove no-op call at window creation

From upstream: 1095a43708.
This commit is contained in:
Luflosi 2020-07-16 23:55:24 +02:00
parent 805921d6a3
commit 44775e4644
No known key found for this signature in database
GPG key ID: 4E41E29EDCC345D0

3
glfw/window.c vendored
View file

@ -291,7 +291,8 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height,
}
}
_glfwPlatformSetWindowMousePassthrough(window, wndconfig.mousePassthrough);
if (wndconfig.mousePassthrough)
_glfwPlatformSetWindowMousePassthrough(window, true);
return (GLFWwindow*) window;
}