diff options
author | Jordi Vilalta Prat | 2009-07-03 23:02:37 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-07-03 23:02:37 +0000 |
commit | d42f054f0b9c20764ac7eed31cd1ad11e69dc426 (patch) | |
tree | 66ee808f3403a8b5e50b892a60491f6798e21475 /engines/groovie | |
parent | 255e51906298e8d06939cd1aa888e233b0eefa2a (diff) | |
download | scummvm-rg350-d42f054f0b9c20764ac7eed31cd1ad11e69dc426.tar.gz scummvm-rg350-d42f054f0b9c20764ac7eed31cd1ad11e69dc426.tar.bz2 scummvm-rg350-d42f054f0b9c20764ac7eed31cd1ad11e69dc426.zip |
Moved the YUV<->RGB routines to graphics/conversion.h
svn-id: r42080
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/roq.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp index 3868443e96..4c8bbe55ac 100644 --- a/engines/groovie/roq.cpp +++ b/engines/groovie/roq.cpp @@ -33,7 +33,7 @@ #ifdef ENABLE_RGB_COLOR // Required for the YUV to RGB conversion -#include "graphics/dither.h" +#include "graphics/conversion.h" #endif #include "sound/mixer.h" @@ -173,7 +173,7 @@ void ROQPlayer::buildShowBuf() { } else { // Do the format conversion (YUV -> RGB -> Screen format) byte r, g, b; - Graphics::PaletteLUT::YUV2RGB(*in, *(in + 1), *(in + 2), r, g, b); + Graphics::YUV2RGB(*in, *(in + 1), *(in + 2), r, g, b); // FIXME: this is fixed to 16bit *(uint16 *)out = (uint16)_vm->_pixelFormat.RGBToColor(r, g, b); #endif // ENABLE_RGB_COLOR |