Moved display zbuffer clear to after notefields are drawn (#1679)

* Added display zbuffer clear DrawNoteFieldBoard

* Removed display zbuffer clear in NoteField
This commit is contained in:
MrThatKid
2018-04-20 18:27:37 -07:00
committed by GitHub
parent 1ca5809da5
commit eb78d14ab8
2 changed files with 3 additions and 4 deletions
-4
View File
@@ -761,10 +761,6 @@ 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());