removed unnecessary initialization of values with zero

xpos and ypos are assigned with a value inside _glfwPlatformGetMonitorPos
This commit is contained in:
iamAdrianIusca 2020-02-09 23:29:40 +02:00
parent 76406c7894
commit 1c1a2ee627

View File

@ -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);