aboutsummaryrefslogtreecommitdiff
path: root/graphics/pict.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-20 00:45:59 -0500
committerMatthew Hoops2011-02-20 00:45:59 -0500
commit5091f846a78c82d619b41530ff670de04bc05387 (patch)
tree8071ff0e1f4029cdfdd1b20ecd994b183f6b9a90 /graphics/pict.h
parent098581b3b5ec22f2e50075414f74f378ad24c2ae (diff)
downloadscummvm-rg350-5091f846a78c82d619b41530ff670de04bc05387.tar.gz
scummvm-rg350-5091f846a78c82d619b41530ff670de04bc05387.tar.bz2
scummvm-rg350-5091f846a78c82d619b41530ff670de04bc05387.zip
GRAPHICS: Switch PICT's palette from RGBA to RGB
Diffstat (limited to 'graphics/pict.h')
-rw-r--r--graphics/pict.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pict.h b/graphics/pict.h
index e4bde8a466..a683a23bf6 100644
--- a/graphics/pict.h
+++ b/graphics/pict.h
@@ -70,7 +70,7 @@ private:
Common::Rect _imageRect;
PixelFormat _pixelFormat;
JPEG *_jpeg;
- byte _palette[256 * 4];
+ byte _palette[256 * 3];
bool _isPaletted;
Graphics::Surface *_outputSurface;