From a559684e7c1c33d9442c0c115190dc0531b92240 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 25 Apr 2022 21:13:41 +0600 Subject: [PATCH] Fix darkened rendering in Vulkan --- src/qt/qt_vulkanrenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_vulkanrenderer.cpp b/src/qt/qt_vulkanrenderer.cpp index bb1d8c3a3..e820e3a11 100644 --- a/src/qt/qt_vulkanrenderer.cpp +++ b/src/qt/qt_vulkanrenderer.cpp @@ -101,7 +101,7 @@ bool VulkanRenderer2::createTexture() QVulkanFunctions *f = m_window->vulkanInstance()->functions(); VkDevice dev = m_window->device(); - m_texFormat = VK_FORMAT_B8G8R8A8_SRGB; + m_texFormat = VK_FORMAT_B8G8R8A8_UNORM; // Now we can either map and copy the image data directly, or have to go // through a staging buffer to copy and convert into the internal optimal