Merge single-use function _glfwFreeMonitors

All other uses were elminiated by _glfwInputMonitor.
This commit is contained in:
Camilla Löwy
2017-01-10 15:01:55 +01:00
parent f29c963030
commit 48a795c101
3 changed files with 3 additions and 17 deletions
-10
View File
@@ -180,16 +180,6 @@ void _glfwFreeGammaArrays(GLFWgammaramp* ramp)
memset(ramp, 0, sizeof(GLFWgammaramp));
}
void _glfwFreeMonitors(_GLFWmonitor** monitors, int count)
{
int i;
for (i = 0; i < count; i++)
_glfwFreeMonitor(monitors[i]);
free(monitors);
}
const GLFWvidmode* _glfwChooseVideoMode(_GLFWmonitor* monitor,
const GLFWvidmode* desired)
{