mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix problem with patching framebuffers in vulkan pixel history
This commit is contained in:
@@ -979,7 +979,7 @@ protected:
|
||||
}
|
||||
|
||||
// Either modify the existing depth stencil attachment, or add one.
|
||||
if(sub.depthstencilAttachment != -1)
|
||||
if(sub.depthstencilAttachment != -1 && sub.depthstencilAttachment < atts.size())
|
||||
atts[sub.depthstencilAttachment] = m_CallbackInfo.dsImageView;
|
||||
else
|
||||
atts.push_back(m_CallbackInfo.dsImageView);
|
||||
|
||||
Reference in New Issue
Block a user