mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +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;
|
xpos = 0;
|
||||||
if (ypos == GLFW_DONT_CARE)
|
if (ypos == GLFW_DONT_CARE)
|
||||||
ypos = 0;
|
ypos = 0;
|
||||||
glfwSetWindowPos(window, xpos, ypos);
|
|
||||||
|
if (!window->monitor)
|
||||||
|
_glfwPlatformSetWindowPos(window, xpos, ypos);
|
||||||
}
|
}
|
||||||
|
|
||||||
return GLFW_TRUE;
|
return GLFW_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user