]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
r_showsurfaces 3: render sky (appears as average-colored box sides)
[xonotic/darkplaces.git] / 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