mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +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"
|
// [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
|
// 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)));
|
auto size = Vector2u(Vector2(CGDisplayModeGetPixelWidth(cgmode), CGDisplayModeGetPixelHeight(cgmode)));
|
||||||
scaleOutXY(size, nil);
|
scaleInXY(size, nil);
|
||||||
return VideoMode(size, modeBitsPerPixel(cgmode));
|
return VideoMode(size, modeBitsPerPixel(cgmode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user