From a6714f4e82a164d3ce6dd8588f964bc6e8a6146b Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 11 Oct 2018 11:14:05 +0100 Subject: [PATCH] Use correct context to flush with --- renderdoc/driver/d3d11/d3d11_msaa_array_conv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/d3d11/d3d11_msaa_array_conv.cpp b/renderdoc/driver/d3d11/d3d11_msaa_array_conv.cpp index 251e7fa5b..bce222a66 100644 --- a/renderdoc/driver/d3d11/d3d11_msaa_array_conv.cpp +++ b/renderdoc/driver/d3d11/d3d11_msaa_array_conv.cpp @@ -809,7 +809,7 @@ void D3D11DebugManager::CopyTex2DMSToArray(ID3D11Texture2D *destArray, ID3D11Tex ctx->Draw(3, 0); } - m_pImmediateContext->Flush(); + ctx->Flush(); SAFE_RELEASE(dsvArray); }