IMAGE: Move all ImageDecoders to image/
This commit is contained in:
parent
cbf085287c
commit
740b6e8fbd
46 changed files with 199 additions and 188 deletions
|
@ -29,7 +29,7 @@
|
|||
#include "common/substream.h"
|
||||
#include "common/system.h"
|
||||
#include "common/textconsole.h"
|
||||
#include "graphics/decoders/bmp.h"
|
||||
#include "image/bmp.h"
|
||||
|
||||
namespace Mohawk {
|
||||
|
||||
|
@ -635,7 +635,7 @@ MohawkSurface *MystBitmap::decodeImage(Common::SeekableReadStream *stream) {
|
|||
Common::SeekableReadStream *bmpStream = decompressLZ(stream, uncompressedSize);
|
||||
delete stream;
|
||||
|
||||
Graphics::BitmapDecoder bitmapDecoder;
|
||||
Image::BitmapDecoder bitmapDecoder;
|
||||
if (!bitmapDecoder.loadStream(*bmpStream))
|
||||
error("Could not decode Myst bitmap");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue