Skip to content

ngl: Handle negative scales

Matthias Clasen requested to merge fix-neg-scales-4.2 into gtk-4-2

Scale factors can be negative, but we were not looking out for that, triggering an assertion when trying to create a render target with negative width of height. Avoid that.

Fixes: #4096 (closed)

Merge request reports