mirror of
https://github.com/SFML/SFML.git
synced 2025-01-31 21:55:13 +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();
|
VideoMode desktop = getDesktopMode();
|
||||||
|
modes.push_back(desktop);
|
||||||
|
|
||||||
// Loop on each mode and convert it into a sf::VideoMode object.
|
// Loop on each mode and convert it into a sf::VideoMode object.
|
||||||
const CFIndex modesCount = CFArrayGetCount(cgmodes);
|
const CFIndex modesCount = CFArrayGetCount(cgmodes);
|
||||||
|
Loading…
Reference in New Issue
Block a user