diff options
author | Einar Johan Trøan Sømåen | 2012-05-09 13:59:30 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:08 +0200 |
commit | cb06258124453f8d28f9768433d36ab25c0a92c8 (patch) | |
tree | a34a12118581e5e78c822666f0476a7985ebb964 /engines/wintermute/BRenderSDL.cpp | |
parent | 3a3304e324970032638b7a9eca9c264e26dc34c1 (diff) | |
download | scummvm-rg350-cb06258124453f8d28f9768433d36ab25c0a92c8.tar.gz scummvm-rg350-cb06258124453f8d28f9768433d36ab25c0a92c8.tar.bz2 scummvm-rg350-cb06258124453f8d28f9768433d36ab25c0a92c8.zip |
WINTERMUTE: Avoid touching SDL_Quit in-engine
Diffstat (limited to 'engines/wintermute/BRenderSDL.cpp')
-rw-r--r-- | engines/wintermute/BRenderSDL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/BRenderSDL.cpp b/engines/wintermute/BRenderSDL.cpp index c6684ec348..f287403091 100644 --- a/engines/wintermute/BRenderSDL.cpp +++ b/engines/wintermute/BRenderSDL.cpp @@ -54,13 +54,13 @@ CBRenderSDL::~CBRenderSDL() { #if 0
if (_renderer) SDL_DestroyRenderer(_renderer);
if (_win) SDL_DestroyWindow(_win);
-#endif
SDL_Quit();
+#endif
}
//////////////////////////////////////////////////////////////////////////
HRESULT CBRenderSDL::InitRenderer(int width, int height, bool windowed) {
- if (SDL_Init(SDL_INIT_VIDEO) < 0) return E_FAIL;
+ //if (SDL_Init(SDL_INIT_VIDEO) < 0) return E_FAIL;
#if 0
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 0);
|