diff options
author | Jody Northup | 2009-06-20 05:23:09 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-20 05:23:09 +0000 |
commit | f7dd1c15ed38418a0371032966144eb6c2e004cb (patch) | |
tree | dc292bcaf9c657bd1db9efbc56195e70c578ea0e /graphics/cursorman.cpp | |
parent | 8b6ed92376024f43876af93fdfccd72d6fc33ac0 (diff) | |
download | scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.gz scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.bz2 scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.zip |
renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR
svn-id: r41696
Diffstat (limited to 'graphics/cursorman.cpp')
-rw-r--r-- | graphics/cursorman.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index 6446216867..865c7515f0 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -97,7 +97,7 @@ void CursorManager::popAllCursors() { } } -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR while (!_cursorFormatStack.empty()) { PixelFormat *form = _cursorFormatStack.pop(); delete form; @@ -116,7 +116,7 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX, Cursor *cur = _cursorStack.top(); -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR uint size = w * h * g_system->getScreenFormat().bytesPerPixel; #else uint size = w * h; @@ -220,7 +220,7 @@ void CursorManager::replaceCursorPalette(const byte *colors, uint start, uint nu } } -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR void CursorManager::pushCursorFormat(PixelFormat format) { // if (!g_system->hasFeature(OSystem::kFeatureCursorHasPalette)) // return; |