From 5fca435b43bb98ff8fbd5f522646bfacf39b70b7 Mon Sep 17 00:00:00 2001 From: Kyzentun Keeslala Date: Tue, 21 Jun 2016 08:51:09 -0600 Subject: [PATCH] Clear the z buffer before drawing notes so 3D notes aren't hidden by things in the underlay using masking. --- src/NoteField.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NoteField.cpp b/src/NoteField.cpp index f1686dfff5..8dc0c567cb 100644 --- a/src/NoteField.cpp +++ b/src/NoteField.cpp @@ -761,6 +761,10 @@ void NoteField::DrawPrimitives() m_FieldRenderArgs.draw_pixels_before_targets); return; } + + // Clear the z buffer so 3D notes aren't hidden by anything in the underlay using masking. -Kyz + DISPLAY->ClearZBuffer(); + // Some might prefer an else block, instead of returning from the if, but I // don't want to bump the indent on the entire remaining section. -Kyz ArrowEffects::SetCurrentOptions(&m_pPlayerState->m_PlayerOptions.GetCurrent());