shader-doodle icon indicating copy to clipboard operation
shader-doodle copied to clipboard

[BUG] - window resize blows away buffers

Open halvves opened this issue 3 years ago • 0 comments

Describe the bug When the window gets resized, buffers end up as empty textures.

To Reproduce Steps to reproduce the behavior:

  1. visit http://cdpn.io/e/GRMBaYR
  2. resize the window
  3. see that game of life state end up empty

Expected behavior I am somewhat unsure since the textures size is changing, but at the very least we shouldn't completely lose previous data.

Desktop (please complete the following information):

  • OS: any/all
  • Browser any/all
  • Version v1.0.0-alpha.20

Smartphone (please complete the following information):

  • Device: any/all
  • OS: any/all
  • Browser any/all
  • Version v1.0.0-alpha.20

halvves avatar Jan 08 '22 18:01 halvves