aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-08-07 14:56:06 +0200
committerEinar Johan Trøan Sømåen2012-08-07 14:56:06 +0200
commit3abccb2e339144191553555756e3ff43222c3a36 (patch)
tree1d45d5022d6de01ff8a7f73b9d0aee001559a603 /engines/wintermute/base/gfx
parent52aeaf4ecee11074a3f1fe303aef862f1b6ac028 (diff)
downloadscummvm-rg350-3abccb2e339144191553555756e3ff43222c3a36.tar.gz
scummvm-rg350-3abccb2e339144191553555756e3ff43222c3a36.tar.bz2
scummvm-rg350-3abccb2e339144191553555756e3ff43222c3a36.zip
WINTERMUTE: Change PixelFormat to ARGB (same as Sword25)
Mainly a workaround for the OpenGL-backend.
Diffstat (limited to 'engines/wintermute/base/gfx')
-rw-r--r--engines/wintermute/base/gfx/osystem/base_render_osystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index bc952b0b36..f12478f7b3 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -153,7 +153,7 @@ bool BaseRenderOSystem::initRenderer(int width, int height, bool windowed) {
_windowed = !ConfMan.getBool("fullscreen");
- Graphics::PixelFormat format(4, 8, 8, 8, 8, 24, 16, 8, 0);
+ Graphics::PixelFormat format(4, 8, 8, 8, 8, 16, 8, 0, 24);
g_system->beginGFXTransaction();
g_system->initSize(_width, _height, &format);
OSystem::TransactionError gfxError = g_system->endGFXTransaction();