Don't use hardware surface, removes flicker in win32 fullscreen mode.

This commit is contained in:
johns 2000-08-12 20:03:12 +00:00
parent b73043674e
commit 50019ff541

View file

@ -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"