fix using interface glfwSetWindowPos call instead internal glfwPlatformSetWindowPos

This commit is contained in:
Krylov Yaroslav 2019-06-24 11:55:52 +03:00
parent c72dacafc5
commit b004d0514e

View File

@ -797,7 +797,9 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
xpos = 0;
if (ypos == GLFW_DONT_CARE)
ypos = 0;
glfwSetWindowPos(window, xpos, ypos);
if (!window->monitor)
_glfwPlatformSetWindowPos(window, xpos, ypos);
}
return GLFW_TRUE;