Made glfwGetMonitorPos immediate.

This commit is contained in:
Camilla Berglund
2013-02-20 16:00:53 +01:00
parent a591cdeba6
commit 7b3783abe2
7 changed files with 76 additions and 45 deletions
+1 -2
View File
@@ -199,8 +199,7 @@ static GLboolean createWindow(_GLFWwindow* window,
if (wndconfig->monitor)
{
hints->flags |= PPosition;
hints->x = wndconfig->monitor->positionX;
hints->y = wndconfig->monitor->positionY;
_glfwPlatformGetMonitorPos(wndconfig->monitor, &hints->x, &hints->y);
}
if (!wndconfig->resizable)