From 47737d419207401d6154bbf9c87d45fbf085791e Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 26 Mar 2015 17:55:52 +0000 Subject: [PATCH] Remove assert since we handle the asserted case, it's not unexpected * It's reasonably common to get mismatched begin/end events especially around frame boundaries. --- renderdoc/driver/d3d11/d3d11_context.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/renderdoc/driver/d3d11/d3d11_context.cpp b/renderdoc/driver/d3d11/d3d11_context.cpp index 386c1ad67..374eaf091 100644 --- a/renderdoc/driver/d3d11/d3d11_context.cpp +++ b/renderdoc/driver/d3d11/d3d11_context.cpp @@ -938,7 +938,6 @@ void WrappedID3D11DeviceContext::ProcessChunk(uint64_t offset, D3D11ChunkType ch else if(context->m_State == READING && chunk == POP_EVENT) { // refuse to pop off further than the root drawcall (mismatched begin/end events e.g.) - RDCASSERT(context->m_DrawcallStack.size() > 1); if(context->m_DrawcallStack.size() > 1) context->m_DrawcallStack.pop_back(); }