mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Fix bad Win32 updates
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user