aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/cdtoons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/cdtoons.cpp')
-rw-r--r--video/codecs/cdtoons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/cdtoons.cpp b/video/codecs/cdtoons.cpp
index d4552b78d7..2d7920fb18 100644
--- a/video/codecs/cdtoons.cpp
+++ b/video/codecs/cdtoons.cpp
@@ -54,7 +54,7 @@ CDToonsDecoder::CDToonsDecoder(uint16 width, uint16 height) {
debugN(5, "CDToons: width %d, height %d\n", width, height);
_surface = new Graphics::Surface();
- _surface->create(width, height, 1);
+ _surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8());
_currentPaletteId = 0;
memset(_palette, 0, 256 * 3);