assert if someone tries to clear the zbuffer in an actor frame (it won't do anything because ActorFrames don't SetRenderState). Hopefully, this will save someone a lot of troubleshooting time.
This commit is contained in:
@@ -134,6 +134,8 @@ void ActorFrame::MoveToHead( Actor* pActor )
|
|||||||
|
|
||||||
void ActorFrame::DrawPrimitives()
|
void ActorFrame::DrawPrimitives()
|
||||||
{
|
{
|
||||||
|
ASSERT_M( !m_bClearZBuffer, "ClearZBuffer not supported on ActorFrames" );
|
||||||
|
|
||||||
if( m_fFOV != -1 )
|
if( m_fFOV != -1 )
|
||||||
{
|
{
|
||||||
DISPLAY->CameraPushMatrix();
|
DISPLAY->CameraPushMatrix();
|
||||||
|
|||||||
Reference in New Issue
Block a user