clear Z after draw stream so that it doesn't conflict with arrows or dancing chars
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include "StreamDisplay.h"
|
#include "StreamDisplay.h"
|
||||||
#include "GameState.h"
|
#include "GameState.h"
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
#include "RageDisplay.h"
|
||||||
|
|
||||||
StreamDisplay::StreamDisplay()
|
StreamDisplay::StreamDisplay()
|
||||||
{
|
{
|
||||||
@@ -120,6 +121,9 @@ void StreamDisplay::DrawPrimitives()
|
|||||||
DrawMask( f );
|
DrawMask( f );
|
||||||
DrawStrip( f, fStripWidthInPercent );
|
DrawStrip( f, fStripWidthInPercent );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't leave the Zbuffer in a messy state for arrows and dancing characters
|
||||||
|
DISPLAY->ClearZBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StreamDisplay::SetPercent( float fPercent )
|
void StreamDisplay::SetPercent( float fPercent )
|
||||||
|
|||||||
Reference in New Issue
Block a user