Clear the z buffer before drawing notes so 3D notes aren't hidden by things in the underlay using masking.

This commit is contained in:
Kyzentun Keeslala
2016-06-21 08:51:09 -06:00
parent c3d37389ec
commit 5fca435b43
+4
View File
@@ -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());