diff options
-rw-r--r-- | engines/gob/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index e2c76f83b7..9f02a82572 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -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); |