Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed memory leak at get_screen_data() #666

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

Ordasto
Copy link
Contributor

@Ordasto Ordasto commented Nov 5, 2023

Changed get_screen_data() to use a managed macroquad texture with store_texture instead of from_miniquad_texture to fix the memory leak mentioned in #655.

I'm not sure if there was a specific reason it was using from_miniquad_texture before but I didn't notice any difference in behaviour.

@not-fl3
Copy link
Owner

not-fl3 commented Nov 5, 2023

Thanks for PR!

@not-fl3 not-fl3 merged commit caf7ef2 into not-fl3:master Nov 5, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants