aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/msrle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/msrle.cpp')
-rw-r--r--video/codecs/msrle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/msrle.cpp b/video/codecs/msrle.cpp
index 46158c49d7..b750efa6a7 100644
--- a/video/codecs/msrle.cpp
+++ b/video/codecs/msrle.cpp
@@ -32,7 +32,7 @@ namespace Video {
MSRLEDecoder::MSRLEDecoder(uint16 width, uint16 height, byte bitsPerPixel) {
_surface = new Graphics::Surface();
- _surface->create(width, height, 1);
+ _surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8());
_bitsPerPixel = bitsPerPixel;
}