Remove no-op call at window creation

Related to #1568.
This commit is contained in:
Camilla Löwy 2020-07-07 18:39:07 +02:00
parent 6d2003d07a
commit 1095a43708

View File

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