From 486775925b6d318b068e5ee69e2687306eded792 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 9 Mar 2026 23:12:31 +0100 Subject: [PATCH] color format fix --- implementations/Crafter.Graphics-Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations/Crafter.Graphics-Window.cpp b/implementations/Crafter.Graphics-Window.cpp index 3af4cc2..47b23c3 100644 --- a/implementations/Crafter.Graphics-Window.cpp +++ b/implementations/Crafter.Graphics-Window.cpp @@ -889,7 +889,7 @@ void Window::CreateSwapchain() colorAttachmentView.subresourceRange.baseArrayLayer = 0; colorAttachmentView.subresourceRange.layerCount = 1; colorAttachmentView.viewType = VK_IMAGE_VIEW_TYPE_2D; - colorAttachmentView.flags = 0; + colorAttachmentView.flags = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT; colorAttachmentView.image = images[i]; Device::CheckVkResult(vkCreateImageView(Device::device, &colorAttachmentView, nullptr, &imageViews[i]));