Optimize some allocations.

This commit is contained in:
Pieter-Jan Briers
2020-11-11 01:30:09 +01:00
parent 6b3beb3808
commit 5dc15b90c6
3 changed files with 7 additions and 5 deletions
@@ -233,6 +233,8 @@ namespace Robust.Client.Graphics.Clyde
}
}
ArrayPool<int>.Shared.Return(indexList);
_drawingSpriteList.Clear();
FlushRenderQueue();