aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorSven Hesse2013-06-30 18:59:38 +0200
committerSven Hesse2013-06-30 19:00:17 +0200
commit231586d924c03eeb8b9fb825cc87e5dd56aa0500 (patch)
tree7d77b8861c69f2a96116152beb105c158a7e678e /video
parent9a88fe848576e63b2fa2ab79e087ae34c21bb5d1 (diff)
downloadscummvm-rg350-231586d924c03eeb8b9fb825cc87e5dd56aa0500.tar.gz
scummvm-rg350-231586d924c03eeb8b9fb825cc87e5dd56aa0500.tar.bz2
scummvm-rg350-231586d924c03eeb8b9fb825cc87e5dd56aa0500.zip
VIDEO: Add hypothetical 32bpp support
Diffstat (limited to 'video')
-rw-r--r--video/codecs/indeo3.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/codecs/indeo3.cpp b/video/codecs/indeo3.cpp
index 7bf7fc8235..65fb6dac62 100644
--- a/video/codecs/indeo3.cpp
+++ b/video/codecs/indeo3.cpp
@@ -322,6 +322,8 @@ const Graphics::Surface *Indeo3Decoder::decodeImage(Common::SeekableReadStream *
*((uint8 *)rowDest) = (uint8)color;
else if (_surface->format.bytesPerPixel == 2)
*((uint16 *)rowDest) = (uint16)color;
+ else if (_surface->format.bytesPerPixel == 4)
+ *((uint32 *)rowDest) = (uint32)color;
}
}