From 0f073e3b287bb7dde05f4c17799a8d3f1cd4b7a0 Mon Sep 17 00:00:00 2001 From: Spirrwell Date: Sat, 29 May 2021 05:24:23 -0400 Subject: [PATCH] Disable blending for non-translucent pipeline This should fix issue 669: https://github.com/yquake2/yquake2/issues/669 --- src/vk/vk_common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vk/vk_common.c b/src/vk/vk_common.c index ecb6876..0157172 100644 --- a/src/vk/vk_common.c +++ b/src/vk/vk_common.c @@ -1363,7 +1363,6 @@ static void CreatePipelines() for (int i = 0; i < RP_COUNT; ++i) { vk_drawModelPipelineFan[i].topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; - vk_drawModelPipelineFan[i].blendOpts.blendEnable = VK_TRUE; QVk_CreatePipeline(samplerUboDsLayouts, 2, &vertInfoRGB_RGBA_RG, &vk_drawModelPipelineFan[i], &vk_renderpasses[i], shaders, 2); QVk_DebugSetObjectName((uint64_t)vk_drawModelPipelineFan[i].layout, VK_OBJECT_TYPE_PIPELINE_LAYOUT, va("Pipeline Layout: draw model: fan (%s)", renderpassObjectNames[i]));