Skip to content

Commit

Permalink
Merge pull request #6426 from ppy/revert-6396-default-sdl3
Browse files Browse the repository at this point in the history
Revert "Use SDL3 windowing by default"
  • Loading branch information
peppy authored Nov 15, 2024
2 parents 20c0c2c + 9b9ec67 commit dd2f8b5
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")) ?? true);
UseSDL3 = RuntimeInfo.IsMobile || (parseBool(Environment.GetEnvironmentVariable("OSU_SDL3")) ?? false);
}

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

0 comments on commit dd2f8b5

Please sign in to comment.