mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Oops. (stupid c&p bug)
svn-id: r35659
This commit is contained in:
parent
15784edb08
commit
655a1cb227
@ -557,7 +557,7 @@ void Video::drawOSDText(const char *text) {
|
||||
uint32 color = 0x2;
|
||||
Graphics::Surface surf;
|
||||
|
||||
surf.create(g_system->getWidth(), font.getFontHeight(), surf.bytesPerPixel);
|
||||
surf.create(g_system->getWidth(), font.getFontHeight(), 1);
|
||||
|
||||
font.drawString(&surf, text, 0, 0, surf.w, color, Graphics::kTextAlignCenter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user