From: eihrul Date: Tue, 5 Apr 2011 18:40:01 +0000 (+0000) Subject: use ASYNCBLIT by default X-Git-Tag: xonotic-v0.6.0~163^2~517 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d0ade9af196dac2c8e54143872c35d7a2dba78a1;p=xonotic%2Fdarkplaces.git use ASYNCBLIT by default git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11029 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_sdl.c b/vid_sdl.c index 223ccbe9..ea18c921 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -2298,6 +2298,7 @@ qboolean VID_InitModeSoft(viddef_mode_t *mode) int i; #if SETVIDEOMODE int flags = SDL_HWSURFACE; + if(!COM_CheckParm("-noasyncblit")) flags |= SDL_ASYNCBLIT; #else int windowflags = SDL_WINDOW_SHOWN; #endif