Added proper monitor comparison.

This commit is contained in:
Camilla Berglund
2013-04-22 14:43:13 +02:00
parent 2891c9629f
commit 7405bc48cd
5 changed files with 26 additions and 1 deletions
+5
View File
@@ -174,6 +174,11 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
return monitors;
}
GLboolean _glfwPlatformIsSameMonitor(_GLFWmonitor* first, _GLFWmonitor* second)
{
return wcscmp(first->win32.name, second->win32.name);
}
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos)
{
DEVMODE settings;