Skip to content

"paint" example leaks memory #5

Open
@bvssvni

Description

@bvssvni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions