Skip to content

Commit

Permalink
Prefer OpenGL by default on Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Jan 21, 2025
1 parent 6f7f43f commit 82e8b9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Framework/Platform/GameHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,10 @@ public IEnumerable<RendererType> GetPreferredRenderersForCurrentPlatform()
switch (RuntimeInfo.OS)
{
case RuntimeInfo.Platform.Windows:
yield return RendererType.OpenGL;
// The D3D implementation is very hacky and not well supported on all systems.
yield return RendererType.Direct3D11;
yield return RendererType.Deferred_Direct3D11;
yield return RendererType.OpenGL;
yield return RendererType.Deferred_Vulkan;

break;
Expand Down

0 comments on commit 82e8b9d

Please sign in to comment.