Fixed zeroing of height argument.

This commit is contained in:
Doug Binks 2018-09-08 17:18:24 +02:00
parent 875cbdf46d
commit 196a7cf7d2

View File

@ -307,8 +307,8 @@ GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* handle, int* xpos, int* ypos, i
*ypos = 0;
if (width)
*width = 0;
if (width)
*width = 0;
if (height)
*height = 0;
_GLFW_REQUIRE_INIT();