aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-10 16:36:42 +0200
committerEugene Sandulenko2016-04-10 16:36:42 +0200
commit3e568910c83a3922e25f523fdf23c7b3e2409e7f (patch)
tree69644d89ec73b7cc93cbc7a00c5a55bfcaaa1efd /backends/graphics
parenta7930f2af7b8bd525d3a01971fdcf3aea646fc96 (diff)
downloadscummvm-rg350-3e568910c83a3922e25f523fdf23c7b3e2409e7f.tar.gz
scummvm-rg350-3e568910c83a3922e25f523fdf23c7b3e2409e7f.tar.bz2
scummvm-rg350-3e568910c83a3922e25f523fdf23c7b3e2409e7f.zip
GCW0: Disable triple buffering.
Too many artifacts. It is not possible with current ScummVM drawing approaches.
Diffstat (limited to 'backends/graphics')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index f00e6e781f..21345515bc 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -812,11 +812,7 @@ bool SurfaceSdlGraphicsManager::loadGFXMode() {
#endif
_hwscreen = SDL_SetVideoMode(_videoMode.hardwareWidth, _videoMode.hardwareHeight, 16,
-#ifndef GCW0
_videoMode.fullscreen ? (SDL_FULLSCREEN|SDL_SWSURFACE) : SDL_SWSURFACE
-#else
- SDL_HWSURFACE | SDL_TRIPLEBUF
-#endif
);
}
@@ -1262,11 +1258,7 @@ void SurfaceSdlGraphicsManager::internUpdateScreen() {
// Finally, blit all our changes to the screen
if (!_displayDisabled) {
-#ifndef GCW0
SDL_UpdateRects(_hwscreen, _numDirtyRects, _dirtyRectList);
-#else
- SDL_Flip(_hwscreen);
-#endif
}
}