diff options
author | yinsimei | 2017-05-31 01:11:28 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 786e4c3dc3ce834002253f8c280826108f9a3225 (patch) | |
tree | 4e1e51e428e039b161bd4db45e0fe2a4dfda9185 /engines/sludge/main_loop.cpp | |
parent | 8c59f8deac6da7fd3b46234b70ca1cea428ca1f5 (diff) | |
download | scummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.tar.gz scummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.tar.bz2 scummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.zip |
SLUDGE: Refactor image loading function and apply in backdrop
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r-- | engines/sludge/main_loop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index cf0c7f315f..2c4648b26c 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -432,7 +432,7 @@ int main_loop(char *filename) registerWindowForFatal(); - if (!resizeBackdrop(winWidth, winHeight)) + if (!killResizeBackdrop(winWidth, winHeight)) return fatal("Couldn't allocate memory for backdrop"); blankScreen(0, 0, winWidth, winHeight); |