You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sprites use OpenGL textures, but never free them, which might cause problems if lots of sprites are loaded and used. Sprites should free their textures when garbage collected.
The text was updated successfully, but these errors were encountered:
This is best done in the OpenGL library itself, by treating textures as userdata and attaching an appropriate __gc metamethod. The current pre-compiled ones don't do this, so it'll need to be added and then rebuilt.
Sprites use OpenGL textures, but never free them, which might cause problems if lots of sprites are loaded and used. Sprites should free their textures when garbage collected.
The text was updated successfully, but these errors were encountered: