mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user