mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
Since the color interpolation requires two pixels in the horizontal and vertical direction to work, 1 pixel wide or high bitmaps would cause a crash when scaling. Fix this by clamping the index into the valid range. Fixes #16047.
5.2 KiB
5.2 KiB