mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Currently the configure function reuses the surface texture if it already exist, and will call Glow::Context::tex_storage_2d to reconfigure the texture. However doing so on an already configured texture will cause the browser warning: WebGL warning: texStorage(Multisample)?: Specified texture is immutable. and will NOT apply the new configuration such as new dimensions. Co-authored-by: Nicklas Warming Jacobsen <nwj@skybox.gg>