Move DrewAVoxel to VisibleSpriteList
This commit is contained in:
parent
34f85569b4
commit
933f2d116a
5 changed files with 12 additions and 10 deletions
|
|
@ -61,7 +61,6 @@ namespace swrenderer
|
|||
void RenderTranslucentPass::Clear()
|
||||
{
|
||||
VisibleSpriteList::Instance()->Clear();
|
||||
DrewAVoxel = false;
|
||||
}
|
||||
|
||||
void RenderTranslucentPass::CollectPortals()
|
||||
|
|
@ -161,7 +160,7 @@ namespace swrenderer
|
|||
void RenderTranslucentPass::Render()
|
||||
{
|
||||
CollectPortals();
|
||||
VisibleSpriteList::Instance()->Sort(DrewAVoxel);
|
||||
VisibleSpriteList::Instance()->Sort();
|
||||
|
||||
Clip3DFloors *clip3d = Clip3DFloors::Instance();
|
||||
if (clip3d->height_top == nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue