mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +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