summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 577b7415..dab0e09d 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1601,11 +1601,11 @@ static void SetVideoMode(screen_mode_t *mode, int w, int h)
// Set the video mode.
- flags |= SDL_SWSURFACE;
+ flags |= SDL_SWSURFACE | SDL_DOUBLEBUF;
if (screen_bpp == 8)
{
- flags |= SDL_HWPALETTE | SDL_DOUBLEBUF;
+ flags |= SDL_HWPALETTE;
}
if (fullscreen)