1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

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;
}