diff --git a/src/monitor.c b/src/monitor.c index 394026f5a..e07d9de49 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -326,11 +326,6 @@ GLFWAPI void glfwGetMonitorPos(GLFWmonitor* handle, int* xpos, int* ypos) _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); - if (xpos) - *xpos = 0; - if (ypos) - *ypos = 0; - _GLFW_REQUIRE_INIT(); _glfwPlatformGetMonitorPos(monitor, xpos, ypos);