diff options
author | Einar Johan Trøan Sømåen | 2012-07-25 18:59:26 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-25 18:59:26 +0200 |
commit | 6331bea4231b5db86d01a8f21b5ff84e4b96d8f6 (patch) | |
tree | 8612aa63ccc925d0d9292047682e35fffa721b27 /engines/wintermute/base/gfx/osystem | |
parent | 46968e20f944810cb3b9bce1fdf5f61a7f1de0bb (diff) | |
download | scummvm-rg350-6331bea4231b5db86d01a8f21b5ff84e4b96d8f6.tar.gz scummvm-rg350-6331bea4231b5db86d01a8f21b5ff84e4b96d8f6.tar.bz2 scummvm-rg350-6331bea4231b5db86d01a8f21b5ff84e4b96d8f6.zip |
WINTERMUTE: Remove in-engine fullscreen-switching, let ScummVM handle that.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 12 | ||||
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index 70d1268e5a..2d2e62076c 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -589,18 +589,6 @@ BaseImage *BaseRenderOSystem::takeScreenshot() { }
//////////////////////////////////////////////////////////////////////////
-bool BaseRenderOSystem::switchFullscreen() {
- /*if (_windowed) SDL_SetWindowFullscreen(_win, SDL_TRUE);
- else SDL_SetWindowFullscreen(_win, SDL_FALSE);
-
- _windowed = !_windowed;
- */
- _gameRef->_registry->writeBool("Video", "Windowed", _windowed);
-
- return STATUS_OK;
-}
-
-//////////////////////////////////////////////////////////////////////////
const char *BaseRenderOSystem::getName() {
if (_name.empty()) {
#if 0
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.h b/engines/wintermute/base/gfx/osystem/base_render_osystem.h index 75c745ecf7..3f4185dce2 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.h +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.h @@ -71,8 +71,6 @@ public: bool fade(uint16 alpha);
bool fadeToColor(uint32 color, Common::Rect *rect = NULL);
- bool switchFullscreen();
-
bool drawLine(int x1, int y1, int x2, int y2, uint32 color);
BaseImage *takeScreenshot();
|