Add Desktop mode to valid MacOS modes

This commit is contained in:
Lorenzooone 2024-11-28 18:23:51 +01:00 committed by Chris Thrasher
parent 5383d2b394
commit 6df90d82be

View File

@ -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);