From 4aa2b1e558993e0d81bcf5b694dca651a7943649 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 25 May 2024 01:36:35 +0300 Subject: aasaaap! --- src/state.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/state.h') diff --git a/src/state.h b/src/state.h index 2158b5b..b56544a 100644 --- a/src/state.h +++ b/src/state.h @@ -1,6 +1,7 @@ #include #include #include +#include #define CGLM_FORCE_DEPTH_ZERO_TO_ONE @@ -109,6 +110,8 @@ typedef struct state { VkImage vk_depth_image; VkDeviceMemory vk_depth_image_memory; VkImageView vk_depth_image_view; + + VkPolygonMode polygon_mode; } state_t ; static void @@ -158,4 +161,6 @@ init_state(state_t * s) s->prev_vert_result = NULL; s->prev_frag_result = NULL; + + s->polygon_mode = VK_POLYGON_MODE_FILL; } -- cgit v1.2.3