aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.cpp
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/cursorman.cpp
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/cursorman.cpp')
-rw-r--r--graphics/cursorman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp
index b77aac37cf..0834760861 100644
--- a/graphics/cursorman.cpp
+++ b/graphics/cursorman.cpp
@@ -109,7 +109,7 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX,
Cursor *cur = _cursorStack.top();
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
uint size;
if (!format)
size = w * h;
@@ -134,7 +134,7 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX,
cur->_hotspotY = hotspotY;
cur->_keycolor = keycolor;
cur->_targetScale = targetScale;
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
if (format)
cur->_format = *format;
else