Don't use hardware surface, removes flicker in win32 fullscreen mode.
This commit is contained in:
parent
b73043674e
commit
50019ff541
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue