Skip to content

Commit

Permalink
Use SDL3 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Susko3 committed Jan 25, 2025
1 parent e50f547 commit 82debe6
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 82debe6

Please sign in to comment.