aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
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/sdl-common.h
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/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index fa8959f001..2d3337e0d5 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -69,6 +69,8 @@ public:
OSystem_SDL();
virtual ~OSystem_SDL();
+ virtual void initBackend();
+
void beginGFXTransaction(void);
void endGFXTransaction(void);
@@ -188,7 +190,7 @@ public:
#endif
protected:
- void initIntern();
+ bool _inited;
#ifdef USE_OSD
SDL_Surface *_osdSurface;