Just one loop here.
This commit is contained in:
@@ -301,8 +301,8 @@ void ActorScroller::PositionItemsAndDrawPrimitives( bool bDrawPrimitives )
|
|||||||
if( bDelayedDraw )
|
if( bDelayedDraw )
|
||||||
{
|
{
|
||||||
ActorUtil::SortByZPosition( subs );
|
ActorUtil::SortByZPosition( subs );
|
||||||
FOREACH( Actor*, subs, a )
|
for (Actor *a : subs)
|
||||||
(*a)->Draw();
|
a->Draw();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user