diff options
author | 2023-08-02 22:05:11 +0200 | |
---|---|---|
committer | 2023-08-02 22:05:11 +0200 | |
commit | c7e17391c53c9aa076d76982189a5184681aac0c (patch) | |
tree | 97635d0607f185343c442060eeeabc11ebbc9f41 /graphics | |
parent | 50ce65b3b7ad10a8537b751b3890d9dcfaecf846 (diff) | |
download | iced-c7e17391c53c9aa076d76982189a5184681aac0c.tar.gz iced-c7e17391c53c9aa076d76982189a5184681aac0c.tar.bz2 iced-c7e17391c53c9aa076d76982189a5184681aac0c.zip |
Fix `iced_wgpu` freezing on empty layers
The `render` method would return when an empty layer is encountered without explicitly dropping the `RenderPass` (necessary because we use `ManuallyDrop`), which would then leak memory and freeze `wgpu` until the surface was recreated.
Diffstat (limited to 'graphics')
0 files changed, 0 insertions, 0 deletions