mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 21:31:36 +00:00
1 parent
33347d2e3d
commit
56c5b0f884
2 files changed
+2
-2
No files matched your search
@@ -3163,7 +3163,7 @@ HRESULT WrappedID3D11Device::Present(IDXGISwapChain *swap, UINT SyncInterval, UI
|
||||
|
||||
// kill any current capture that isn't application defined
|
||||
if(m_State == WRITING_CAPFRAME && !m_AppControlledCapture)
|
||||
EndFrameCapture(this, swapdesc.OutputWindow);
|
||||
RenderDoc::Inst().EndFrameCapture((ID3D11Device *)this, swapdesc.OutputWindow);
|
||||
|
||||
if(RenderDoc::Inst().ShouldTriggerCapture(m_FrameCounter) && m_State == WRITING_IDLE)
|
||||
{
|
||||
|
||||
@@ -2263,7 +2263,7 @@ void WrappedOpenGL::SwapBuffers(void *windowHandle)
|
||||
|
||||
// kill any current capture that isn't application defined
|
||||
if(m_State == WRITING_CAPFRAME && !m_AppControlledCapture)
|
||||
EndFrameCapture(ctxdata.ctx, windowHandle);
|
||||
RenderDoc::Inst().EndFrameCapture(ctxdata.ctx, windowHandle);
|
||||
|
||||
if(RenderDoc::Inst().ShouldTriggerCapture(m_FrameCounter) && m_State == WRITING_IDLE)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user