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 gl_set_drawcall_buffer_capacity memory leak #806

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

yui-915
Copy link
Contributor

@yui-915 yui-915 commented Sep 12, 2024

QuadGl::update_drawcall_capacity() (which is called by window::gl_set_drawcall_buffer_capacity) leaks video memory by not deleting the buffers that were already allocated on the gpu

this could be easily noticed when calling it in a loop (for whatever reason)

@not-fl3
Copy link
Owner

not-fl3 commented Sep 12, 2024

How could I reproduce the leak? I have pretty stable memory on all the examples

@not-fl3
Copy link
Owner

not-fl3 commented Sep 12, 2024

Oh, I see what you mean, sorry for confusion.

Thanks for PR!

@not-fl3 not-fl3 merged commit 9a343af into not-fl3:master Sep 12, 2024
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