This commit is contained in:
parent
127ed7b483
commit
9a59b24c8d
6 changed files with 11 additions and 14 deletions
|
|
@ -261,7 +261,7 @@ public:
|
|||
|
||||
std::array<VkAttachmentDescription, 5> attachments{};
|
||||
// Color attachment
|
||||
attachments[0].format = colorformat;
|
||||
attachments[0].format = swapChain.colorFormat;
|
||||
attachments[0].samples = VK_SAMPLE_COUNT_1_BIT;
|
||||
attachments[0].loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR;
|
||||
attachments[0].storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue