aboutsummaryrefslogtreecommitdiff
path: root/graphics/iff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/iff.cpp')
-rw-r--r--graphics/iff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/iff.cpp b/graphics/iff.cpp
index 2174291112..0e6052d003 100644
--- a/graphics/iff.cpp
+++ b/graphics/iff.cpp
@@ -204,7 +204,7 @@ struct PBMLoader {
case ID_BODY:
if (_surface) {
- _surface->create(_decoder._header.width, _decoder._header.height, 1);
+ _surface->create(_decoder._header.width, _decoder._header.height, PixelFormat::createFormatCLUT8());
_decoder.loadBitmap((byte*)_surface->pixels, chunk._stream);
}
return true; // stop the parser