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
This process of creating the TTF_Text pointer and then destroying it seems to still leave something allocated because the memory grows at ~1MB a second. Maybe I'm misunderstanding something about how CreateText is meant to be used, I'm not sure.
This is on the newest build of the main branch
The text was updated successfully, but these errors were encountered:
Oh you're right, I should use strlen since CreateText appends the null terminator. I did notice that DestroyEngineText is not firing since these are new Text instances and text->internal->engine_text is always 0. Could it be that the engine->user_data is not being destroyed when the text is destroyed?
I'm having an issue with this and I've isolated it to a simple project with a main like so
This process of creating the TTF_Text pointer and then destroying it seems to still leave something allocated because the memory grows at ~1MB a second. Maybe I'm misunderstanding something about how CreateText is meant to be used, I'm not sure.
This is on the newest build of the main branch
The text was updated successfully, but these errors were encountered: