aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/sword25.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-03 19:00:47 +0300
committerEugene Sandulenko2014-06-15 15:43:25 +0300
commit5c706dde274753b62c9fc72d5d33b4f42100c11a (patch)
treeeb4a0f8b58ed7e479de8da0b9a70c76fed6e9daf /engines/sword25/sword25.cpp
parent385f8358ab2ea138a39eb6fc76d246b3c5f48e45 (diff)
downloadscummvm-rg350-5c706dde274753b62c9fc72d5d33b4f42100c11a.tar.gz
scummvm-rg350-5c706dde274753b62c9fc72d5d33b4f42100c11a.tar.bz2
scummvm-rg350-5c706dde274753b62c9fc72d5d33b4f42100c11a.zip
SWORD25: Switch to common TransparentSurface
Diffstat (limited to 'engines/sword25/sword25.cpp')
-rw-r--r--engines/sword25/sword25.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/sword25.cpp b/engines/sword25/sword25.cpp
index 259deb2ea8..bb0aab3ad4 100644
--- a/engines/sword25/sword25.cpp
+++ b/engines/sword25/sword25.cpp
@@ -97,7 +97,7 @@ Common::Error Sword25Engine::run() {
Common::Error Sword25Engine::appStart() {
// Initialize the graphics mode to ARGB8888
- Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 16, 8, 0, 24);
+ Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0);
initGraphics(800, 600, true, &format);
if (format != g_system->getScreenFormat())
return Common::kUnsupportedColorMode;