aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
diff options
context:
space:
mode:
authorAndre Heider2009-08-21 18:16:37 +0000
committerAndre Heider2009-08-21 18:16:37 +0000
commit007f68366fd55a519753bf533c7c3a80db3754f0 (patch)
treed25cade63a148fdd6b2190151e8e1f5c87a73ef3 /backends/platform/sdl/sdl.h
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 'backends/platform/sdl/sdl.h')
-rw-r--r--backends/platform/sdl/sdl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index 09213ad417..3da9a433b7 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -93,7 +93,7 @@ public:
void beginGFXTransaction(void);
TransactionError endGFXTransaction(void);
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
// Game screen
virtual Graphics::PixelFormat getScreenFormat() const { return _screenFormat; }
@@ -248,7 +248,7 @@ protected:
// unseen game screen
SDL_Surface *_screen;
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
Graphics::PixelFormat _screenFormat;
Graphics::PixelFormat _cursorFormat;
#endif
@@ -285,7 +285,7 @@ protected:
bool needHotswap;
bool needUpdatescreen;
bool normal1xScaler;
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
bool formatChanged;
#endif
};
@@ -304,7 +304,7 @@ protected:
int screenWidth, screenHeight;
int overlayWidth, overlayHeight;
int hardwareWidth, hardwareHeight;
-#ifdef ENABLE_RGB_COLOR
+#ifdef USE_RGB_COLOR
Graphics::PixelFormat format;
#endif
};