From: cloudwalk Date: Mon, 29 Mar 2021 21:17:42 +0000 (+0000) Subject: cl_screen: Finish frames even if we're minimized, if recording video X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fd96005480560aeb2e1bd68166f6acbf12a2ec0b;p=xonotic%2Fdarkplaces.git cl_screen: Finish frames even if we're minimized, if recording video From malice git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13105 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index 5b97ccb6..9bd50c4b 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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;