ruffle/render/webgl
relrelb e45810f585 webgl: Avoid clamp assertion
If `gl.drawingBufferWidth` returns `0`, then a `clamp` in
`WebGlRenderBackend::set_viewport_dimensions` hits an assertion that
`1 <= self.gl.drawing_buffer_width()` is `false`. I was able to
reproduce this on Chrome by creating many dummy WebGL contexts until
Ruffle's one is lost, and then resize the Ruffle player, but this may
happen in other cases as well.

Fix this by allowing `renderbuffer_width` and `renderbuffer_height`
to be `0`. From basic testing, this seems harmless.
2022-03-16 13:53:34 +02:00
..
shaders webgl: Use highp precision when available 2021-02-02 16:14:15 -08:00
src webgl: Avoid clamp assertion 2022-03-16 13:53:34 +02:00
Cargo.toml build(deps): bump bytemuck from 1.7.3 to 1.8.0 2022-03-07 23:59:40 +02:00