diff options
author | Johannes Schickel | 2011-04-17 16:23:15 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 16:24:37 +0200 |
commit | 7ac3ae108a69587693e0820cde43a63c34a186ec (patch) | |
tree | c3004c8f20548e63bacc813f0a55bdca2b39d4aa /backends/platform/ps2/systemps2.cpp | |
parent | 4fd3e3d6fe72b6b978fbc5e9e0b5218741d15c83 (diff) | |
download | scummvm-rg350-7ac3ae108a69587693e0820cde43a63c34a186ec.tar.gz scummvm-rg350-7ac3ae108a69587693e0820cde43a63c34a186ec.tar.bz2 scummvm-rg350-7ac3ae108a69587693e0820cde43a63c34a186ec.zip |
BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index 77de74eb5b..e95a026d01 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -727,7 +727,7 @@ void OSystem_PS2::msgPrintf(int millis, const char *format, ...) { int maxWidth = 0; Graphics::Surface surf; - surf.create(300, 200, 1); + surf.create(300, 200, Graphics::PixelFormat::createFormatCLUT8()); char *lnSta = resStr; while (*lnSta && (posY < 180)) { |