Graphics/TextSprite: Optimize Update method

Make it keep established connections instead of clearing everything and connecting again


Former-commit-id: abe315a03ba19059a9a867c23780c2f8cd34345b
This commit is contained in:
Lynix
2016-01-06 12:01:35 +01:00
parent 235fbf1877
commit c6f491ca21
2 changed files with 22 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ namespace Nz
struct AtlasSlots
{
bool used;
NazaraSlot(AbstractAtlas, OnAtlasCleared, clearSlot);
NazaraSlot(AbstractAtlas, OnAtlasLayerChange, layerChangeSlot);
NazaraSlot(AbstractAtlas, OnAtlasRelease, releaseSlot);