]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
cl_capturevideo: fix extremely slow demo capture perf
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 25 Aug 2024 16:20:45 +0000 (02:20 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 12 Sep 2024 13:51:12 +0000 (23:51 +1000)
commitef764984a324c18e7c37562cb5388b24cec1c9b0
tree3565c15fec84e94263f805dd0aa03389e17c9f74
parent58de196cfa843ad052291cd35be3ebd29e57efcc
cl_capturevideo: fix extremely slow demo capture perf

If the recording started before the playdemo, or in the same command
string, most of the CPU time was spent sleeping.

Also fixes a stall when starting the recording.

Minor cleanup.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_main.c
cl_screen.c