clean up RageDisplay methods, add ability to mask song banner
The masking uses the Z-buffer under the assumption that some cards don't have a stencil. Should we be using the stencil instead? It doesn't really matter because we never need both the Z buffer and stencil buffer simultaneously.
This commit is contained in:
@@ -116,7 +116,7 @@ public:
|
||||
|
||||
void DrawPrimitives()
|
||||
{
|
||||
DISPLAY->EnableZBuffer();
|
||||
DISPLAY->SetZBuffer( true );
|
||||
|
||||
if( GAMESTATE->IsPlayerEnabled(m_PlayerNumber) )
|
||||
{
|
||||
@@ -139,7 +139,7 @@ public:
|
||||
|
||||
}
|
||||
|
||||
DISPLAY->DisableZBuffer();
|
||||
DISPLAY->SetZBuffer( false );
|
||||
|
||||
m_sprFrame.Draw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user