mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
just testing stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5457 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c8a08c9ac7
commit
1c32da08f9
1 changed files with 2 additions and 2 deletions
|
@ -2977,10 +2977,10 @@ static void QDECL capture_raw_video (void *vctx, int frame, void *data, int stri
|
|||
char filename[MAX_OSPATH];
|
||||
ctx->frames = frame+1;
|
||||
Q_snprintfz(filename, sizeof(filename), "%s%8.8i.%s", ctx->videonameprefix, frame, ctx->videonameextension);
|
||||
if (SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true))
|
||||
if (!SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true))
|
||||
{
|
||||
Sys_Sleep(1);
|
||||
if (SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true))
|
||||
if (!SCR_ScreenShot(filename, ctx->fsroot, &data, 1, stride, width, height, fmt, true))
|
||||
Con_DPrintf("Error writing frame %s\n", filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue