not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.04k stars 297 forks source link

Fix issues with Atlas leaking memory. #721

Closed profan closed 2 months ago

profan commented 2 months ago

Split this out from the other PR so at least this change would go in, since it seems mostly unproblematic :)

profan commented 2 months ago

~I guess one question here might be, maybe that delete function I added does not need to be public?~

Made it private instead, no need to expose more API surface just to fix a leak.

not-fl3 commented 2 months ago

Thanks for PR! :+1: