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/gob | |
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/gob')
-rw-r--r-- | engines/gob/video_v6.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/gob/video_v6.cpp b/engines/gob/video_v6.cpp index c4efadde90..f0d554bd01 100644 --- a/engines/gob/video_v6.cpp +++ b/engines/gob/video_v6.cpp @@ -25,6 +25,7 @@ #include "common/endian.h" #include "common/savefile.h" +#include "graphics/conversion.h" #include "graphics/dither.h" #include "gob/gob.h" @@ -45,8 +46,8 @@ void Video_v6::setPrePalette() { for (int i = 0; i < 256; i++) { byte r, g, b; - Graphics::PaletteLUT::YUV2RGB(fpal[i * 3 + 0], fpal[i * 3 + 1], fpal[i * 3 + 2], - r, g, b); + Graphics::YUV2RGB(fpal[i * 3 + 0], fpal[i * 3 + 1], fpal[i * 3 + 2], + r, g, b); tpal[i * 3 + 0] = r >> 2; tpal[i * 3 + 1] = g >> 2; |