]> 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)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Apr 2011 18:40:01 +0000 (18:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11029 d7cf8633-e32d-0410-b094-e92efae38249

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