1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:37:34 +00:00

Painter: Tell the compiler to flatten Font::draw_glyph().

I think that concludes the Terminal stress test optimizations for now.
This commit is contained in:
Andreas Kling 2019-01-27 05:23:04 +01:00
parent c7b005c47b
commit c7221b7dee
2 changed files with 2 additions and 1 deletions

View file

@ -182,7 +182,7 @@ void Painter::draw_bitmap(const Point& p, const CharacterBitmap& bitmap, Color c
}
}
void Painter::draw_glyph(const Point& point, char ch, Color color)
FLATTEN void Painter::draw_glyph(const Point& point, char ch, Color color)
{
draw_bitmap(point, font().glyph_bitmap(ch), color);
}