mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
New gamma ramp API.
This commit is contained in:
@@ -172,6 +172,9 @@ void _glfwDestroyMonitor(_GLFWmonitor* monitor)
|
||||
if (monitor == NULL)
|
||||
return;
|
||||
|
||||
_glfwFreeGammaRamp(&monitor->originalRamp);
|
||||
_glfwFreeGammaRamp(&monitor->currentRamp);
|
||||
|
||||
free(monitor->modes);
|
||||
free(monitor->name);
|
||||
free(monitor);
|
||||
|
||||
Reference in New Issue
Block a user