]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_screen: Finish frames even if we're minimized, if recording video
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 21:17:42 +0000 (21:17 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 21:17:42 +0000 (21:17 +0000)
From malice

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13105 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 5b97ccb6c1786cad9d98707ed371aa2ce3155e60..9bd50c4bab192eebc386f9d50703fa4904e45559 100644 (file)
@@ -2309,7 +2309,11 @@ void CL_UpdateScreen(void)
                memcpy(palette_rgb_shirtscoreboard[15], palette_rgb_shirtcolormap[15], sizeof(*palette_rgb_shirtcolormap));
        }
 
+#ifdef CONFIG_VIDEO_CAPTURE
+       if (vid_hidden && !cls.capturevideo.active && !cl_capturevideo.integer)
+#else
        if (vid_hidden)
+#endif
        {
                VID_Finish();
                return;