aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/m4/graphics.h1
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_;