diff options
author | Matthew Hoops | 2011-01-18 16:18:10 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-01-18 16:18:10 +0000 |
commit | 503fdb61470484d952634fc1fab5200371810c3f (patch) | |
tree | 0eaacb8b39485bad12d5dae6ae4bd982a5c4dd89 /engines/mohawk/graphics.h | |
parent | 5da1718beb7bdc1b034e12739be783873fd133df (diff) | |
download | scummvm-rg350-503fdb61470484d952634fc1fab5200371810c3f.tar.gz scummvm-rg350-503fdb61470484d952634fc1fab5200371810c3f.tar.bz2 scummvm-rg350-503fdb61470484d952634fc1fab5200371810c3f.zip |
GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGB
svn-id: r55301
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r-- | engines/mohawk/graphics.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index c664e76dcc..969188457a 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -31,7 +31,12 @@ #include "common/file.h" #include "common/hashmap.h" #include "graphics/pict.h" -#include "graphics/video/codecs/mjpeg.h" + +namespace Graphics { + +class JPEG; + +} namespace Mohawk { @@ -132,7 +137,7 @@ private: MohawkEngine_Myst *_vm; MystBitmap *_bmpDecoder; Graphics::PictDecoder *_pictDecoder; - Graphics::JPEGDecoder *_jpegDecoder; + Graphics::JPEG *_jpegDecoder; struct PictureFile { uint32 pictureCount; |