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

"paint" example leaks memory #5

Open
bvssvni opened this issue Oct 6, 2016 · 1 comment
Open

"paint" example leaks memory #5

bvssvni opened this issue Oct 6, 2016 · 1 comment
Labels

Comments

@bvssvni
Copy link
Member

bvssvni commented Oct 6, 2016

Might be a memory leak in Gfx.

Since updating textures requires access to Encoder in gfx_graphics, the only way to "update" a texture, for now, is by creating a new texture. This line replaces the old texture with the new one.

The "paint" example has a memory leak, which I thought this call in piston_window should clean up.

cc @kvark

@bvssvni bvssvni added the bug label Oct 6, 2016
@kvark
Copy link
Member

kvark commented Oct 8, 2016

This is possible, perhaps related to gfx-rs/gfx#1054

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants