Skip to content

Commit 63a101c

Browse files
authored
Merge pull request #5601 from frenzibyte/fix-ftb-bypass
Fix bypassing front-to-back not actually disabling depth test
2 parents 0f84eeb + 210c040 commit 63a101c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Framework/Platform/GameHost.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ protected virtual void DrawFrame()
502502
else
503503
{
504504
// Disable depth testing
505-
Renderer.PushDepthInfo(new DepthInfo());
505+
Renderer.PushDepthInfo(new DepthInfo(false, false));
506506
}
507507

508508
// Back pass

0 commit comments

Comments
 (0)