]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use ASYNCBLIT by default
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Apr 2011 18:40:01 +0000 (18:40 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Apr 2011 18:56:50 +0000 (20:56 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11029 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d0ade9af196dac2c8e54143872c35d7a2dba78a1

vid_sdl.c

index 223ccbe970cddaf0ce663a394678956cb5ec64f5..ea18c92179d13e7cf76d8b4996a9cce14a577ffa 100644 (file)
--- 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