Fix incorrect merge conflict resolution

This commit is contained in:
Chris Thrasher 2024-08-22 22:37:49 -06:00 committed by Lukas Dürrenberger
parent e192d6e6f8
commit 6589d5a847

View File

@ -69,8 +69,8 @@ VideoMode convertCGModeToSFMode(CGDisplayModeRef cgmode)
//
// [1]: "APIs for Supporting High Resolution" > "Additions and Changes for OS X v10.8"
// https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/APIs/APIs.html#//apple_ref/doc/uid/TP40012302-CH5-SW27
auto size = Vector2u(Vector2(CGDisplayModeGetWidth(cgmode), CGDisplayModeGetHeight(cgmode)));
scaleOutXY(size, nil);
auto size = Vector2u(Vector2(CGDisplayModeGetPixelWidth(cgmode), CGDisplayModeGetPixelHeight(cgmode)));
scaleInXY(size, nil);
return VideoMode(size, modeBitsPerPixel(cgmode));
}