diff options
author | Johannes Schickel | 2011-04-17 17:27:18 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 20:58:07 +0200 |
commit | 663bb3e1e5cee8464aa9e8817dda9d93852f671e (patch) | |
tree | 25bdca11a239502d2aad415970e93bf6850d4dae | |
parent | 1c0c15dd957cb0a136f5860552aae1875475068b (diff) | |
download | scummvm-rg350-663bb3e1e5cee8464aa9e8817dda9d93852f671e.tar.gz scummvm-rg350-663bb3e1e5cee8464aa9e8817dda9d93852f671e.tar.bz2 scummvm-rg350-663bb3e1e5cee8464aa9e8817dda9d93852f671e.zip |
M4: Properly setup format in M4Surface constructor.
-rw-r--r-- | engines/m4/graphics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h index 9f7180c387..d74f7adfe8 100644 --- a/engines/m4/graphics.h +++ b/engines/m4/graphics.h @@ -118,6 +118,7 @@ public: } M4Surface(int width_, int height_, byte *srcPixels, int pitch_) { bytesPerPixel = 1; + format = Graphics::PixelFormat::createFormatCLUT8(); w = width_; h = height_; pitch = pitch_; |