mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Null: Fix out parameters not being set
It turns out platform functions are sometimes called directly instead of going through the public wrapper.
This commit is contained in:
@@ -72,6 +72,10 @@ void _glfwPlatformFreeMonitor(_GLFWmonitor* monitor)
|
||||
|
||||
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos)
|
||||
{
|
||||
if (xpos)
|
||||
*xpos = 0;
|
||||
if (ypos)
|
||||
*ypos = 0;
|
||||
}
|
||||
|
||||
void _glfwPlatformGetMonitorContentScale(_GLFWmonitor* monitor,
|
||||
|
||||
Reference in New Issue
Block a user