mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't treat almost or totally empty frames as unsuccessful.
This commit is contained in:
@@ -280,7 +280,7 @@ public:
|
||||
void CleanupCapture();
|
||||
void FreeCaptureData();
|
||||
|
||||
bool HasSuccessfulCapture(CaptureFailReason &reason) { reason = m_FailureReason; return m_SuccessfulCapture && m_ContextRecord->NumChunks() > 3; }
|
||||
bool HasSuccessfulCapture(CaptureFailReason &reason) { reason = m_FailureReason; return m_SuccessfulCapture && m_ContextRecord->NumChunks() > 0; }
|
||||
|
||||
void AttemptCapture();
|
||||
void FinishCapture();
|
||||
|
||||
Reference in New Issue
Block a user