Code formatting
This commit is contained in:
parent
bf37fa2d17
commit
e2dcc4f6f4
1 changed files with 3 additions and 1 deletions
|
|
@ -366,10 +366,12 @@ public:
|
|||
|
||||
buffers[i].image = images[i];
|
||||
|
||||
// Transform images from initial (undefined) to present layout
|
||||
vkTools::setImageLayout(
|
||||
cmdBuffer,
|
||||
buffers[i].image,
|
||||
VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
VK_IMAGE_ASPECT_COLOR_BIT,
|
||||
VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
VK_IMAGE_LAYOUT_PRESENT_SRC_KHR);
|
||||
|
||||
colorAttachmentView.image = buffers[i].image;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue