From c1ed0b2d5b936c7a2ba3ff6c4dd7dc4b2594129e Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 8 Apr 2014 13:25:20 +0200 Subject: [PATCH] Removed duplicate fallback. --- src/x11_monitor.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/x11_monitor.c b/src/x11_monitor.c index b5876a2e..419ddbdb 100644 --- a/src/x11_monitor.c +++ b/src/x11_monitor.c @@ -311,13 +311,6 @@ void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos) XRRFreeCrtcInfo(ci); XRRFreeScreenResources(sr); } - else - { - if (xpos) - *xpos = 0; - if (ypos) - *ypos = 0; - } } GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* found)