diff options
Diffstat (limited to 'graphics/iff.cpp')
-rw-r--r-- | graphics/iff.cpp | 2 |
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 |