mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
SharedGraphics: Fix broken rendering of partially clipped GlyphBitmaps.
This commit is contained in:
parent
b3b28b8b15
commit
39c3b117c9
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void Painter::draw_bitmap(const Point& p, const GlyphBitmap& bitmap, Color color
|
|||
|
||||
for (int row = first_row; row <= last_row; ++row) {
|
||||
for (int j = 0; j <= (last_column - first_column); ++j) {
|
||||
if (bitmap.bit_at(j, row))
|
||||
if (bitmap.bit_at(j + first_column, row))
|
||||
dst[j] = color.value();
|
||||
}
|
||||
dst += dst_skip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue