From fd96005480560aeb2e1bd68166f6acbf12a2ec0b Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 29 Mar 2021 21:17:42 +0000 Subject: [PATCH] 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 --- cl_screen.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2