Add stretch hint.

This commit is contained in:
Steve Checkoway
2006-02-07 08:34:36 +00:00
parent c1520c025b
commit d449ca554c
@@ -420,13 +420,13 @@ void LowLevelWindow_Cocoa::GetDisplayResolutions( DisplayResolutions &dr ) const
int width = GetIntValue( CFDictionaryGetValue(dict, kCGDisplayWidth) );
int height = GetIntValue( CFDictionaryGetValue(dict, kCGDisplayHeight) );
CFTypeRef safe = CFDictionaryGetValue( dict, kCGDisplayModeIsSafeForHardware );
//bool stretched = GetBoolValue( CFDictionaryGetValue(dict, kCGDisplayModeIsStretched) );
bool stretched = GetBoolValue( CFDictionaryGetValue(dict, kCGDisplayModeIsStretched) );
if( !width || !height )
continue;
if( safe && !GetBoolValue( safe ) )
continue;
DisplayResolution res = { width, height };
DisplayResolution res = { width, height, stretched };
dr.insert( res );
}
// Do not release modes! We don't own it here.