slint/sixtyfps_runtime/rendering_backends
Simon Hausmann 25fac2bcd5 GL backend: Avoid run-time opengl errors with clipped zero width or height rectangles
If a Rectangle has a border-radius and clipping, we use an FBO to render
the children and then use femtovg's stencil clipping. If the Rectangle
has a zero width or height, we would end up trying to create a texture
with such dimensions, which produces run-time opengl errors.

We can detect this situation and avoid it early on. The same might happen for shadows.

Fixes #377
2021-08-03 16:47:23 +02:00
..
default Fix comments and naming found in review in #355 2021-07-28 16:57:09 +02:00
gl GL backend: Avoid run-time opengl errors with clipped zero width or height rectangles 2021-08-03 16:47:23 +02:00
qt cSpell: silence qt_window.rs 2021-08-03 16:18:43 +02:00
testing For embedded data, store the extension in the binary 2021-08-03 16:15:31 +02:00