From 549e623033fceda5329d8d7fef42b41d65dc3ea9 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 10 Nov 2024 22:19:56 -0700 Subject: [PATCH] Fixed hex highlight pipeline --- client/src/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/draw.c b/client/src/draw.c index 3fc8bcf..545ef1d 100644 --- a/client/src/draw.c +++ b/client/src/draw.c @@ -33,10 +33,10 @@ void record_hex_draw(VkCommandBuffer command_buffer, HexContext* hex, double tim vkCmdDraw(command_buffer, 18, REGION_HEX_COUNT*MAX_LOADED_REGIONS, 0, 0); vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->point_pipeline.pipeline); - vkCmdDraw(command_buffer, 6, 2, 0, 0); + vkCmdDraw(command_buffer, 1, 2, 0, 0); vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->highlight_pipeline.pipeline); - vkCmdDraw(command_buffer, 1, 2, 0, 0); + vkCmdDraw(command_buffer, 18, 2, 0, 0); #ifdef DRAW_HEX_RAYS vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->ray_pipeline.pipeline);