render even when alpha is 0 when zbuffering is on (fixes
ScreenStage, lifebar)
This commit is contained in:
@@ -297,7 +297,9 @@ void BitmapText::DrawPrimitives()
|
||||
DISPLAY->SetBlendModeNormal();
|
||||
|
||||
|
||||
if( m_temp.diffuse[0].a != 0 )
|
||||
/* Draw if we're not fully transparent or the zbuffer is enabled (which ignores
|
||||
* alpha). */
|
||||
if( m_temp.diffuse[0].a != 0 || DISPLAY->ZBufferEnabled())
|
||||
{
|
||||
//////////////////////
|
||||
// render the shadow
|
||||
|
||||
Reference in New Issue
Block a user