From 663bb3e1e5cee8464aa9e8817dda9d93852f671e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 17 Apr 2011 17:27:18 +0200 Subject: M4: Properly setup format in M4Surface constructor. --- engines/m4/graphics.h | 1 + 1 file changed, 1 insertion(+) 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_; -- cgit v1.2.3