ruffle/render
relrelb afb9ecc4ab webgl: Avoid zeroing `renderbuffer_{width,height}`
This basically reverts #5737 and #6458 for the WebGL backend, which
regressed a bug where setting the style `display: none;` to a Ruffle
player logged many WebGL warnings to the console. This happened
because `renderbuffer_width` and `renderbuffer_height` were set to zero,
leading to problems when trying to pass them to WebGL APIs.

Avoid such situation by ensuring that `renderbuffer_width` and
`renderbuffer_height` are at least `1`, exactly as done before.
Also add a comment that explains why `.clamp()` isn't used.

Fixes #1264.
2022-07-24 23:37:54 +03:00
..
canvas canvas: Fix transforming of gradient/bitmap strokes 2022-07-19 15:01:17 -07:00
common_tess build(deps): bump lyon from 0.17.10 to 1.0.0 2022-07-11 23:36:39 +03:00
webgl webgl: Avoid zeroing `renderbuffer_{width,height}` 2022-07-24 23:37:54 +03:00
wgpu chore: Fix `needless_borrow` clippy lints 2022-07-08 14:14:30 +03:00