mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 23:35:11 +08:00
Add Desktop mode to valid MacOS modes
This commit is contained in:
parent
5383d2b394
commit
6df90d82be
@ -51,6 +51,7 @@ std::vector<VideoMode> VideoModeImpl::getFullscreenModes()
|
||||
}
|
||||
|
||||
VideoMode desktop = getDesktopMode();
|
||||
modes.push_back(desktop);
|
||||
|
||||
// Loop on each mode and convert it into a sf::VideoMode object.
|
||||
const CFIndex modesCount = CFArrayGetCount(cgmodes);
|
||||
|
Loading…
Reference in New Issue
Block a user