From 1ff646ca01d38aeaf0abc185500e02dd2406085a Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 9 Mar 2026 23:05:32 +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 74fb1b3..3af4cc2 100644 --- a/implementations/Crafter.Graphics-Window.cpp +++ b/implementations/Crafter.Graphics-Window.cpp @@ -876,7 +876,7 @@ void Window::CreateSwapchain() VkImageViewCreateInfo colorAttachmentView = {}; colorAttachmentView.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; colorAttachmentView.pNext = NULL; - colorAttachmentView.format = colorFormat; + colorAttachmentView.format = VK_FORMAT_R8G8B8A8_UNORM; colorAttachmentView.components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G,