aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorMax Horn2010-09-28 20:29:25 +0000
committerMax Horn2010-09-28 20:29:25 +0000
commit1d3ce126eac4a7fa479df79009fd0b15ca081109 (patch)
treecd1c6aa2438c1f01a6bd806d2f43182fe6377a52 /backends/platform
parent07427bed7476fa050fffcedd100b97e0c0aecda2 (diff)
downloadscummvm-rg350-1d3ce126eac4a7fa479df79009fd0b15ca081109.tar.gz
scummvm-rg350-1d3ce126eac4a7fa479df79009fd0b15ca081109.tar.bz2
scummvm-rg350-1d3ce126eac4a7fa479df79009fd0b15ca081109.zip
SDL: Fix for 32 bit mode support (untested; might be good for backporting, not sure, somebody should verify)
svn-id: r52934
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 0b96ef24ec..6ee10119cc 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -237,7 +237,7 @@ void OSystem_SDL::detectSupportedFormats() {
// available format, it will get one that is "cheap" to
// use.
const Graphics::PixelFormat RGBList[] = {
-#ifdef ENABLE_32BIT
+#ifdef USE_RGB_COLOR
// RGBA8888, ARGB8888, RGB888
Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0),
Graphics::PixelFormat(4, 8, 8, 8, 8, 16, 8, 0, 24),
@@ -251,7 +251,7 @@ void OSystem_SDL::detectSupportedFormats() {
Graphics::PixelFormat(2, 4, 4, 4, 4, 8, 4, 0, 12)
};
const Graphics::PixelFormat BGRList[] = {
-#ifdef ENABLE_32BIT
+#ifdef USE_RGB_COLOR
// ABGR8888, BGRA8888, BGR888
Graphics::PixelFormat(4, 8, 8, 8, 8, 0, 8, 16, 24),
Graphics::PixelFormat(4, 8, 8, 8, 8, 8, 16, 24, 0),