diff options
author | Johannes Schickel | 2011-04-17 22:09:13 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 22:09:55 +0200 |
commit | 79ed190523656966b39f28720fe83afc045040b5 (patch) | |
tree | 598bbd706edb89b1564c0c75d3ad288001cfc34f /video | |
parent | da734a4af024a72ee155bc25d6e45f994de6b060 (diff) | |
download | scummvm-rg350-79ed190523656966b39f28720fe83afc045040b5.tar.gz scummvm-rg350-79ed190523656966b39f28720fe83afc045040b5.tar.bz2 scummvm-rg350-79ed190523656966b39f28720fe83afc045040b5.zip |
VIDEO: Set up the pixel format for the TrueMotion1 codec properly.
Diffstat (limited to 'video')
-rw-r--r-- | video/codecs/truemotion1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/codecs/truemotion1.cpp b/video/codecs/truemotion1.cpp index a6483ec665..00c15871a2 100644 --- a/video/codecs/truemotion1.cpp +++ b/video/codecs/truemotion1.cpp @@ -92,8 +92,7 @@ TrueMotion1Decoder::TrueMotion1Decoder(uint16 width, uint16 height) { _width = width; _height = height; - // TODO: Use correct PixelFormat - _surface->create(width, height, Graphics::PixelFormat(2, 0, 0, 0, 0, 0, 0, 0, 0)); + _surface->create(width, height, getPixelFormat()); // there is a vertical predictor for each pixel in a line; each vertical // predictor is 0 to start with |