1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 19:07:20 +08:00

Change condition for exclusive fullscreen notice to only show when using the correct renderer

This avoids the notice showing when running on windows, but using the
newer renderers (where the underlying logic hasn't been tested properly
and can result in false-positives).

Supersedes https://github.com/ppy/osu-framework/pull/5759 as a more
correct implementation.
This commit is contained in:
Dean Herbert 2023-04-28 22:35:55 +09:00
parent 6308bef0c8
commit 6929be49b7

View File

@ -256,7 +256,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
return;
}
if (host.Window is WindowsWindow)
if (host.Renderer is IWindowsRenderer)
{
switch (fullscreenCapability.Value)
{