Camilla Berglund 9 years ago
parent
commit
f0a55df963
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/cocoa_monitor.m

+ 1 - 2
src/cocoa_monitor.m

@@ -77,12 +77,11 @@ static char* getDisplayName(CGDirectDisplayID displayID)
 static GLFWbool modeIsGood(CGDisplayModeRef mode)
 {
     uint32_t flags = CGDisplayModeGetIOFlags(mode);
+
     if (!(flags & kDisplayModeValidFlag) || !(flags & kDisplayModeSafeFlag))
         return GLFW_FALSE;
-
     if (flags & kDisplayModeInterlacedFlag)
         return GLFW_FALSE;
-
     if (flags & kDisplayModeStretchedFlag)
         return GLFW_FALSE;