File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
TheForceEngine/TFE_RenderBackend Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -307,9 +307,9 @@ namespace TFE_RenderBackend
307
307
s_screenshotQueued = true ;
308
308
}
309
309
310
- void startGifRecording (const char * path)
310
+ void startGifRecording (const char * path, bool skipCountdown )
311
311
{
312
- s_screenCapture->beginRecording (path);
312
+ s_screenCapture->beginRecording (path, skipCountdown );
313
313
}
314
314
315
315
void stopGifRecording ()
Original file line number Diff line number Diff line change @@ -218,10 +218,10 @@ void ScreenCapture::captureFrame(const char* outputPath)
218
218
m_writeBuffer = (m_writeBuffer + 1 ) % m_bufferCount;
219
219
}
220
220
221
- void ScreenCapture::beginRecording (const char * path)
221
+ void ScreenCapture::beginRecording (const char * path, bool skipCountdown )
222
222
{
223
223
m_capturePath = string (path);
224
- if (TFE_Settings::getSystemSettings ()->showGifRecordingCountdown )
224
+ if (!skipCountdown && TFE_Settings::getSystemSettings ()->showGifRecordingCountdown )
225
225
{
226
226
startCountdown ();
227
227
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class ScreenCapture
39
39
40
40
void captureFrontBufferToMemory (u32 * mem);
41
41
42
- void beginRecording (const char * path);
42
+ void beginRecording (const char * path, bool skipCountdown );
43
43
void endRecording ();
44
44
45
45
ScreenCaptureState getState ();
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ namespace TFE_RenderBackend
98
98
void setClearColor (const f32 * color);
99
99
void swap (bool blitVirtualDisplay);
100
100
void queueScreenshot (const char * screenshotPath);
101
- void startGifRecording (const char * path);
101
+ void startGifRecording (const char * path, bool skipCountdown = false );
102
102
void stopGifRecording ();
103
103
void captureScreenToMemory (u32 * mem);
104
104
You can’t perform that action at this time.
0 commit comments