From bc8ff545ca896a13601af768dba52ca66df2769f Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 17 Oct 2013 20:38:56 +0200 Subject: [PATCH] Fixed mode enumeration for Thunderbolt monitors. --- README.md | 2 ++ src/cocoa_monitor.m | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 20938def..7cec6457 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,8 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/). - [Cocoa] Bugfix: The refresh rate was zero for all modes of certain monitors - [Cocoa] Bugfix: The `install_name` field of the dynamic library was not set - [Cocoa] Bugfix: Full screen windows were never reported as having focus + - [Cocoa] Bugfix: A superfluous IO flag test prevented video modes from being + listed for Thunderbolt monitor - [X11] Added setting of the `WM_CLASS` property to the initial window title - [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2 diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 83402803..e498110e 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -76,9 +76,6 @@ static GLboolean modeIsGood(CGDisplayModeRef mode) if (flags & kDisplayModeInterlacedFlag) return GL_FALSE; - if (flags & kDisplayModeTelevisionFlag) - return GL_FALSE; - if (flags & kDisplayModeStretchedFlag) return GL_FALSE;