color format fix
This commit is contained in:
parent
486775925b
commit
cfebc896db
1 changed files with 1 additions and 1 deletions
|
|
@ -889,7 +889,7 @@ void Window::CreateSwapchain()
|
||||||
colorAttachmentView.subresourceRange.baseArrayLayer = 0;
|
colorAttachmentView.subresourceRange.baseArrayLayer = 0;
|
||||||
colorAttachmentView.subresourceRange.layerCount = 1;
|
colorAttachmentView.subresourceRange.layerCount = 1;
|
||||||
colorAttachmentView.viewType = VK_IMAGE_VIEW_TYPE_2D;
|
colorAttachmentView.viewType = VK_IMAGE_VIEW_TYPE_2D;
|
||||||
colorAttachmentView.flags = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT;
|
colorAttachmentView.flags = 0;
|
||||||
colorAttachmentView.image = images[i];
|
colorAttachmentView.image = images[i];
|
||||||
Device::CheckVkResult(vkCreateImageView(Device::device, &colorAttachmentView, nullptr, &imageViews[i]));
|
Device::CheckVkResult(vkCreateImageView(Device::device, &colorAttachmentView, nullptr, &imageViews[i]));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue