aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixelformat.h
diff options
context:
space:
mode:
authorAndre Heider2009-08-21 18:16:37 +0000
committerAndre Heider2009-08-21 18:16:37 +0000
commit007f68366fd55a519753bf533c7c3a80db3754f0 (patch)
treed25cade63a148fdd6b2190151e8e1f5c87a73ef3 /graphics/pixelformat.h
parentc0d954334547c166b52b37199ad877bc7e5ac2b0 (diff)
downloadscummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.tar.gz
scummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.tar.bz2
scummvm-rg350-007f68366fd55a519753bf533c7c3a80db3754f0.zip
Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to guarantee a consistent build.
svn-id: r43604
Diffstat (limited to 'graphics/pixelformat.h')
-rw-r--r--graphics/pixelformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h
index d16de51ea7..b94ef41412 100644
--- a/graphics/pixelformat.h
+++ b/graphics/pixelformat.h
@@ -157,7 +157,7 @@ struct PixelFormat {
* or PixelFormat::createFormatCLUT8() if no matching formats were found.
*/
inline PixelFormat findCompatibleFormat(Common::List<PixelFormat> backend, Common::List<PixelFormat> frontend) {
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
for (Common::List<PixelFormat>::iterator i = backend.begin(); i != backend.end(); ++i) {
for (Common::List<PixelFormat>::iterator j = frontend.begin(); j != frontend.end(); ++j) {
if (*i == *j)