DIRECTOR: Fix font drawing in graphics tests

This commit is contained in:
Eugene Sandulenko 2023-04-01 18:25:30 +02:00
parent 3bb0094d7d
commit c7daae946d
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -83,7 +83,7 @@ void Window::testFontScaling() {
Common::Rect bbox = font->getBoundingBox(text, x, y, w);
surface.frameRect(bbox, 15);
font->drawString(&surface, text, x, y, width, 0);
font->drawString(&surface, text, x, y, width, 0xFF);
x += width + 1;
}