We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f57a59 commit 4e5df93Copy full SHA for 4e5df93
osu.Framework/FrameworkEnvironment.cs
@@ -53,7 +53,10 @@ static FrameworkEnvironment()
53
if (DebugUtils.IsDebugBuild)
54
AllowInsecureRequests = parseBool(Environment.GetEnvironmentVariable("OSU_INSECURE_REQUESTS")) ?? false;
55
56
- UseSDL3 = RuntimeInfo.IsMobile || (parseBool(Environment.GetEnvironmentVariable("OSU_SDL3")) ?? false);
+ // Windows excluded for now due to https://github.com/ppy/osu/issues/28223#issuecomment-2664711237.
57
+ bool sdl3DefaultsOn = RuntimeInfo.IsUnix;
58
+
59
+ UseSDL3 = RuntimeInfo.IsMobile || (parseBool(Environment.GetEnvironmentVariable("OSU_SDL3")) ?? sdl3DefaultsOn);
60
}
61
62
private static bool? parseBool(string? value)
0 commit comments