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