From 210c040de95d3a6a88d2b0fab07528d16a1330ff Mon Sep 17 00:00:00 2001 From: Salman Ahmed Date: Mon, 19 Dec 2022 02:56:01 +0300 Subject: [PATCH] Fix front-to-back bypass not actually disabling depth test This causes Metal to render nothing. --- osu.Framework/Platform/GameHost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Framework/Platform/GameHost.cs b/osu.Framework/Platform/GameHost.cs index bc472e5da4..65e9310b9f 100644 --- a/osu.Framework/Platform/GameHost.cs +++ b/osu.Framework/Platform/GameHost.cs @@ -502,7 +502,7 @@ protected virtual void DrawFrame() else { // Disable depth testing - Renderer.PushDepthInfo(new DepthInfo()); + Renderer.PushDepthInfo(new DepthInfo(false, false)); } // Back pass