working on garbage collection, fixing small issues with font destroy

This commit is contained in:
Kbz-8
2024-12-14 01:39:50 +01:00
parent 5d4d97e05d
commit f5333882c6
9 changed files with 90 additions and 26 deletions

View File

@@ -91,7 +91,6 @@ namespace mlx
if(gs)
gs->TryEraseSpritesInScene(texture);
}
m_image_registry.UnregisterTexture(texture);
delete texture;
}