aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/graphics.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-19 20:22:50 +0000
committerMax Horn2005-04-19 20:22:50 +0000
commit2cfb9322e2e2b59fa2ab311491445ef801d4979a (patch)
treeda6657a42de0b43c7af4d96dfb76d8bd484a5496 /backends/sdl/graphics.cpp
parent167d43d9244aa5961fafbc3760dddbc1c04cc028 (diff)
downloadscummvm-rg350-2cfb9322e2e2b59fa2ab311491445ef801d4979a.tar.gz
scummvm-rg350-2cfb9322e2e2b59fa2ab311491445ef801d4979a.tar.bz2
scummvm-rg350-2cfb9322e2e2b59fa2ab311491445ef801d4979a.zip
Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664
svn-id: r17694
Diffstat (limited to 'backends/sdl/graphics.cpp')
-rw-r--r--backends/sdl/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 11b4e21fb2..0f000befdc 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -301,6 +301,7 @@ void OSystem_SDL::initSize(uint w, uint h, int overlayScale) {
}
void OSystem_SDL::loadGFXMode() {
+ assert(_inited);
_forceFull = true;
_modeFlags |= DF_UPDATE_EXPAND_1_PIXEL;