|
|
@ -181,7 +181,7 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
monitors[found]->win32.name = _wcsdup(adapter.DeviceName); |
|
|
|
wcscpy(monitors[found]->win32.name, adapter.DeviceName); |
|
|
|
found++; |
|
|
|
found++; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -196,11 +196,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) |
|
|
|
return monitors; |
|
|
|
return monitors; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void _glfwPlatformDestroyMonitor(_GLFWmonitor* monitor) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
free(monitor->win32.name); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* found) |
|
|
|
GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* found) |
|
|
|
{ |
|
|
|
{ |
|
|
|
int modeIndex = 0, count = 0; |
|
|
|
int modeIndex = 0, count = 0; |
|
|
|