Fix bad Win32 updates

This commit is contained in:
Camilla Berglund
2015-12-10 12:16:13 +01:00
parent 75f1dfaf8a
commit fdc65e49e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* count)
{
// HACK: Report the current mode if no valid modes were found
result = calloc(1, sizeof(GLFWvidmode));
_glfwPlatformVideoMode(monitor, result);
_glfwPlatformGetVideoMode(monitor, result);
*count = 1;
}