cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.1k stars 109 forks source link

Image corruption after resize #14

Closed fbbdev closed 4 years ago

fbbdev commented 5 years ago

I'm seeing a curious corruption issue after resize on latest master (19a5db2).

Steps to reproduce:

Not sure whether the size of 20 has any special meaning. I can consistently reproduce the issue with 20; 33, 48, 64 didn't trigger it; 10, 21, 32 triggered it only some times.

I attached a short screencast. Best viewed at full resolution as the gif is heavily dithered :smile:

screencast

cloudhead commented 5 years ago

Yeah I'm trying to figure out what this is :sweat_smile:

cloudhead commented 5 years ago

Created an issue on wgpu: https://github.com/gfx-rs/wgpu/issues/323

I'm not sure if this is expected behavior or not for textures < 64x64

cloudhead commented 4 years ago

This should now be fixed.