mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
fix using interface glfwSetWindowPos call instead internal glfwPlatformSetWindowPos
This commit is contained in:
parent
c72dacafc5
commit
b004d0514e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user