mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Re-used POSITION_* tokens for monitor position.
This commit is contained in:
+2
-2
@@ -323,9 +323,9 @@ GLFWAPI int glfwGetMonitorParam(GLFWmonitor* handle, int param)
|
||||
return monitor->widthMM;
|
||||
case GLFW_MONITOR_HEIGHT_MM:
|
||||
return monitor->heightMM;
|
||||
case GLFW_MONITOR_POS_X:
|
||||
case GLFW_POSITION_X:
|
||||
return monitor->positionX;
|
||||
case GLFW_MONITOR_POS_Y:
|
||||
case GLFW_POSITION_Y:
|
||||
return monitor->positionY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user