From 50019ff541b74bad49b75e1fefefbaef34f89dce Mon Sep 17 00:00:00 2001 From: johns <> Date: Sat, 12 Aug 2000 20:03:12 +0000 Subject: [PATCH] Don't use hardware surface, removes flicker in win32 fullscreen mode. --- src/video/sdl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/video/sdl.cpp b/src/video/sdl.cpp index 4c3ef2874..b7b7a3031 100644 --- a/src/video/sdl.cpp +++ b/src/video/sdl.cpp @@ -131,8 +131,9 @@ global void InitVideoSdl(void) } Screen = SDL_SetVideoMode(VideoWidth, VideoHeight, VideoDepth - ,SDL_HWSURFACE|SDL_HWPALETTE - | (VideoFullScreen ? SDL_FULLSCREEN : 0)); + // Sam said: better for windows. + ,/* SDL_HWSURFACE|SDL_HWPALETTE | */ + (VideoFullScreen ? SDL_FULLSCREEN : 0)); if ( Screen == NULL ) { fprintf(stderr, "Couldn't set %dx%dx%d video mode: %s\n"