aboutsummaryrefslogtreecommitdiff
path: root/gui/GuiManager.cpp
diff options
context:
space:
mode:
authorJody Northup2009-06-20 05:23:09 +0000
committerJody Northup2009-06-20 05:23:09 +0000
commitf7dd1c15ed38418a0371032966144eb6c2e004cb (patch)
treedc292bcaf9c657bd1db9efbc56195e70c578ea0e /gui/GuiManager.cpp
parent8b6ed92376024f43876af93fdfccd72d6fc33ac0 (diff)
downloadscummvm-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 'gui/GuiManager.cpp')
-rw-r--r--gui/GuiManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp
index fcfc02967e..8e161f3e60 100644
--- a/gui/GuiManager.cpp
+++ b/gui/GuiManager.cpp
@@ -135,7 +135,7 @@ bool GuiManager::loadNewTheme(Common::String id, ThemeEngine::GraphicsMode gfx)
delete _theme;
if (_useStdCursor) {
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
CursorMan.popCursorFormat();
#endif
CursorMan.popCursorPalette();
@@ -385,7 +385,7 @@ void GuiManager::saveState() {
void GuiManager::restoreState() {
if (_useStdCursor) {
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
CursorMan.popCursorFormat();
#endif
CursorMan.popCursor();
@@ -430,7 +430,7 @@ void GuiManager::setupCursor() {
87, 87, 87, 0
};
-#ifdef ENABLE_16BIT
+#ifdef ENABLE_RGB_COLOR
Graphics::PixelFormat format;
format.bytesPerPixel = 1;
format.rLoss = format.gLoss = format.bLoss = format.aLoss = 8;