mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
GCW0: Disable triple buffering.
Too many artifacts. It is not possible with current ScummVM drawing approaches.
This commit is contained in:
parent
a7930f2af7
commit
3e568910c8
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user