mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0
This commit is contained in:
@ -259,10 +259,7 @@ namespace osu.Game.Screens.Utility
|
||||
|
||||
var displayMode = host.Window?.CurrentDisplayMode.Value;
|
||||
|
||||
string exclusive = "unknown";
|
||||
|
||||
if (host.Renderer is IWindowsRenderer windowsRenderer)
|
||||
exclusive = windowsRenderer.FullscreenCapability.ToString();
|
||||
string exclusive = (host.Renderer as IWindowsRenderer)?.FullscreenCapability.ToString() ?? "unknown";
|
||||
|
||||
statusText.Clear();
|
||||
|
||||
|
Reference in New Issue
Block a user