From d42f054f0b9c20764ac7eed31cd1ad11e69dc426 Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Fri, 3 Jul 2009 23:02:37 +0000 Subject: Moved the YUV<->RGB routines to graphics/conversion.h svn-id: r42080 --- engines/groovie/roq.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/groovie') 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 -- cgit v1.2.3