Oops. (stupid c&p bug)

svn-id: r35659
This commit is contained in:
Johannes Schickel 2009-01-02 00:52:01 +00:00
parent 15784edb08
commit 655a1cb227

View File

@ -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);