This commit is contained in:
Kovid Goyal 2024-04-04 10:40:09 +05:30
parent 1f1f1f60ac
commit bddc552433
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -627,6 +627,7 @@ bool _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode *mode)
}
*mode = vidmodeFromCGDisplayMode(native, monitor->ns.fallbackRefreshRate);
CGDisplayModeRelease(native);
return true;
}
bool _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)