From f7dd1c15ed38418a0371032966144eb6c2e004cb Mon Sep 17 00:00:00 2001 From: Jody Northup Date: Sat, 20 Jun 2009 05:23:09 +0000 Subject: renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR svn-id: r41696 --- graphics/cursorman.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/cursorman.cpp') 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; -- cgit v1.2.3