1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 22:22:59 +08:00

Add back macOS precheck

This commit is contained in:
Dean Herbert 2024-11-21 18:13:00 +09:00
parent b4077fc8a2
commit 033b7c17d5
No known key found for this signature in database

View File

@ -269,7 +269,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
private void updateScreenModeWarning()
{
// Can be removed once we stop supporting SDL2.
if (!FrameworkEnvironment.UseSDL3)
if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS && !FrameworkEnvironment.UseSDL3)
{
if (windowModeDropdown.Current.Value == WindowMode.Fullscreen)
windowModeDropdown.SetNoticeText(LayoutSettingsStrings.FullscreenMacOSNote, true);