GLFW: Null: Fix out parameters not being set

From upstream: cd0dc76c7c.
This commit is contained in:
Luflosi
2020-09-07 20:51:21 +02:00
parent 5937892ebc
commit e8d8ced006
2 changed files with 24 additions and 5 deletions

6
glfw/null_monitor.c vendored
View File

@@ -70,8 +70,12 @@ void _glfwPlatformFreeMonitor(_GLFWmonitor* monitor)
_glfwFreeGammaArrays(&monitor->null.ramp);
}
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor UNUSED, int* xpos UNUSED, int* ypos UNUSED)
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor UNUSED, int* xpos, int* ypos)
{
if (xpos)
*xpos = 0;
if (ypos)
*ypos = 0;
}
void _glfwPlatformGetMonitorContentScale(_GLFWmonitor* monitor UNUSED,