color format fix

This commit is contained in:
Jorijn van der Graaf 2026-03-09 23:21:10 +01:00
commit cfebc896db

View file

@ -889,7 +889,7 @@ void Window::CreateSwapchain()
colorAttachmentView.subresourceRange.baseArrayLayer = 0;
colorAttachmentView.subresourceRange.layerCount = 1;
colorAttachmentView.viewType = VK_IMAGE_VIEW_TYPE_2D;
colorAttachmentView.flags = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT;
colorAttachmentView.flags = 0;
colorAttachmentView.image = images[i];
Device::CheckVkResult(vkCreateImageView(Device::device, &colorAttachmentView, nullptr, &imageViews[i]));