mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 01:41:10 +00:00
We're not done capturing a frame until EndFrameCapture returns
This commit is contained in:
1 file changed
+2
-1
@@ -504,8 +504,9 @@ bool RenderDoc::EndFrameCapture(void *dev, void *wnd)
|
||||
IFrameCapturer *frameCap = MatchFrameCapturer(dev, wnd);
|
||||
if(frameCap)
|
||||
{
|
||||
bool ret = frameCap->EndFrameCapture(dev, wnd);
|
||||
m_CapturesActive--;
|
||||
return frameCap->EndFrameCapture(dev, wnd);
|
||||
return ret;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user