From 007f68366fd55a519753bf533c7c3a80db3754f0 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 21 Aug 2009 18:16:37 +0000 Subject: Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to guarantee a consistent build. svn-id: r43604 --- engines/groovie/roq.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/groovie') diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp index 538b1b7111..3ff852934d 100644 --- a/engines/groovie/roq.cpp +++ b/engines/groovie/roq.cpp @@ -31,7 +31,7 @@ #include "graphics/jpeg.h" -#ifdef ENABLE_RGB_COLOR +#ifdef USE_RGB_COLOR // Required for the YUV to RGB conversion #include "graphics/conversion.h" #endif @@ -169,14 +169,14 @@ void ROQPlayer::buildShowBuf() { // Just use the luminancy component *out = *in; #endif // DITHER -#ifdef ENABLE_RGB_COLOR +#ifdef USE_RGB_COLOR } else { // Do the format conversion (YUV -> RGB -> Screen format) byte 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 +#endif // USE_RGB_COLOR } // Skip to the next pixel -- cgit v1.2.3