mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Fix incorrect merge conflict resolution
This commit is contained in:
parent
e192d6e6f8
commit
6589d5a847
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user