Skip to content

Commit

Permalink
Merge pull request ppy#6396 from smoogipoo/default-sdl3
Browse files Browse the repository at this point in the history
Use SDL3 windowing by default
  • Loading branch information
peppy authored Oct 23, 2024
2 parents f45266e + ae525f4 commit 9c6705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/FrameworkEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static FrameworkEnvironment()
if (DebugUtils.IsDebugBuild)
AllowInsecureRequests = parseBool(Environment.GetEnvironmentVariable("OSU_INSECURE_REQUESTS")) ?? false;

UseSDL3 = RuntimeInfo.IsMobile || (parseBool(Environment.GetEnvironmentVariable("OSU_SDL3")) ?? false);
UseSDL3 = RuntimeInfo.IsMobile || (parseBool(Environment.GetEnvironmentVariable("OSU_SDL3")) ?? true);
}

private static bool? parseBool(string? value)
Expand Down

0 comments on commit 9c6705e

Please sign in to comment.