diff options
author | Johannes Schickel | 2011-04-17 17:25:08 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 20:55:49 +0200 |
commit | f90bbf9cfad20c6122b98d8b2f99c2cdaa5ce5d6 (patch) | |
tree | a570b11c0502999bf2f3b580cd496dc44b0f0478 /video/dxa_decoder.cpp | |
parent | 5e279996eb1f448712d1a6b64218a6cf65159a57 (diff) | |
download | scummvm-rg350-f90bbf9cfad20c6122b98d8b2f99c2cdaa5ce5d6.tar.gz scummvm-rg350-f90bbf9cfad20c6122b98d8b2f99c2cdaa5ce5d6.tar.bz2 scummvm-rg350-f90bbf9cfad20c6122b98d8b2f99c2cdaa5ce5d6.zip |
VIDEO: Prefer Surface::format over Surface::bytesPerPixel.
Diffstat (limited to 'video/dxa_decoder.cpp')
-rw-r--r-- | video/dxa_decoder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/dxa_decoder.cpp b/video/dxa_decoder.cpp index a64b8f6fee..44b12c036e 100644 --- a/video/dxa_decoder.cpp +++ b/video/dxa_decoder.cpp @@ -102,6 +102,7 @@ bool DXADecoder::loadStream(Common::SeekableReadStream *stream) { _surface = new Graphics::Surface(); _surface->bytesPerPixel = 1; + _surface->format = Graphics::PixelFormat::createFormatCLUT8(); debug(2, "flags 0x0%x framesCount %d width %d height %d rate %d", flags, getFrameCount(), getWidth(), getHeight(), getFrameRate().toInt()); |