From 839c286e3e5a7d8c631abefeffd9db38b8eec8de Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 20 May 2005 21:09:12 +0000 Subject: [PATCH] clear Z after draw stream so that it doesn't conflict with arrows or dancing chars --- stepmania/src/StreamDisplay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/StreamDisplay.cpp b/stepmania/src/StreamDisplay.cpp index c053268427..89dd119e3b 100644 --- a/stepmania/src/StreamDisplay.cpp +++ b/stepmania/src/StreamDisplay.cpp @@ -2,6 +2,7 @@ #include "StreamDisplay.h" #include "GameState.h" #include +#include "RageDisplay.h" StreamDisplay::StreamDisplay() { @@ -120,6 +121,9 @@ void StreamDisplay::DrawPrimitives() DrawMask( f ); DrawStrip( f, fStripWidthInPercent ); } + + // Don't leave the Zbuffer in a messy state for arrows and dancing characters + DISPLAY->ClearZBuffer(); } void StreamDisplay::SetPercent( float fPercent )