mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:43:20 +08:00
Only display exclusive fullscreen hinting on windows
This commit is contained in:
parent
53844d3df1
commit
f7110116de
@ -230,20 +230,27 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
return;
|
||||
}
|
||||
|
||||
switch (fullscreenCapability.Value)
|
||||
if (host.Window is WindowsWindow)
|
||||
{
|
||||
case FullscreenCapability.Unknown:
|
||||
if (host.Window is WindowsWindow)
|
||||
switch (fullscreenCapability.Value)
|
||||
{
|
||||
case FullscreenCapability.Unknown:
|
||||
windowModeDropdown.SetWarningText(LayoutSettingsStrings.CheckingForFullscreenCapabilities);
|
||||
break;
|
||||
break;
|
||||
|
||||
case FullscreenCapability.Capable:
|
||||
windowModeDropdown.SetWarningText(LayoutSettingsStrings.OsuIsRunningExclusiveFullscreen, false);
|
||||
break;
|
||||
case FullscreenCapability.Capable:
|
||||
windowModeDropdown.SetWarningText(LayoutSettingsStrings.OsuIsRunningExclusiveFullscreen, false);
|
||||
break;
|
||||
|
||||
case FullscreenCapability.Incapable:
|
||||
windowModeDropdown.SetWarningText(LayoutSettingsStrings.UnableToRunExclusiveFullscreen);
|
||||
break;
|
||||
case FullscreenCapability.Incapable:
|
||||
windowModeDropdown.SetWarningText(LayoutSettingsStrings.UnableToRunExclusiveFullscreen);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// We can only detect exclusive fullscreen status on windows currently.
|
||||
windowModeDropdown.ClearWarningText();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user