From 496a89e56e5d394b47683581946478b05fc6f196 Mon Sep 17 00:00:00 2001 From: Unknown <0.tamas.marton@gmail.com> Date: Tue, 21 Apr 2020 21:38:21 +0100 Subject: [PATCH] fixed shader module selection --- driver/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/draw.c b/driver/draw.c index 5f6055c..dc58278 100644 --- a/driver/draw.c +++ b/driver/draw.c @@ -139,7 +139,7 @@ static uint32_t drawCommon(VkCommandBuffer commandBuffer) if(cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)]) { - fragModule = cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)]; + vertModule = cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)]; } if(!vertModule)