mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Allocate enough space in the QVector for resolve attachments
This commit is contained in:
@@ -1318,7 +1318,7 @@ QVector<BoundResource> CommonPipelineState::GetOutputTargets()
|
||||
|
||||
int idx = 0;
|
||||
|
||||
ret.resize(rp.colorAttachments.count);
|
||||
ret.resize(rp.colorAttachments.count+rp.resolveAttachments.count);
|
||||
for(int i = 0; i < rp.colorAttachments.count; i++)
|
||||
{
|
||||
if(rp.colorAttachments[i] < (uint32_t)fb.attachments.count)
|
||||
|
||||
Reference in New Issue
Block a user