diff options
author | Andre Heider | 2009-08-21 18:16:37 +0000 |
---|---|---|
committer | Andre Heider | 2009-08-21 18:16:37 +0000 |
commit | 007f68366fd55a519753bf533c7c3a80db3754f0 (patch) | |
tree | d25cade63a148fdd6b2190151e8e1f5c87a73ef3 /gui | |
parent | c0d954334547c166b52b37199ad877bc7e5ac2b0 (diff) | |
download | scummvm-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 'gui')
-rw-r--r-- | gui/ThemeEngine.cpp | 2 | ||||
-rw-r--r-- | gui/ThemeEngine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 417a1f714c..41447d2a88 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1234,7 +1234,7 @@ bool ThemeEngine::createCursor(const Common::String &filename, int hotspotX, int if (!cursor) return false; -#ifdef ENABLE_RGB_COLOR +#ifdef USE_RGB_COLOR _cursorFormat.bytesPerPixel = 1; _cursorFormat.rLoss = _cursorFormat.gLoss = _cursorFormat.bLoss = _cursorFormat.aLoss = 8; _cursorFormat.rShift = _cursorFormat.gShift = _cursorFormat.bShift = _cursorFormat.aShift = 0; diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index 43e227d5fb..9e4bff5075 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -612,7 +612,7 @@ protected: ImagesMap _bitmaps; Graphics::PixelFormat _overlayFormat; -#ifdef ENABLE_RGB_COLOR +#ifdef USE_RGB_COLOR Graphics::PixelFormat _cursorFormat; #endif |