GLFW: Remove no-op call at window creation

From upstream: https://github.com/glfw/glfw/commit/1095a43708d98190afdc5dfbfc40086c333f7f72.
This commit is contained in:
Luflosi
2020-07-16 23:55:24 +02:00
parent 805921d6a3
commit 44775e4644
+2 -1
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;
}