diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h index 17be1c0..6feb9d1 100644 --- a/src/state.h +++ b/src/state.h @@ -59,7 +59,8 @@ typedef struct state { float x; int zoom; - SDL_Window* sdl_window; + SDL_Window *sdl_window; + int sdl_window_resized; VkInstance vk_instance; VkDebugUtilsMessengerEXT vk_debug_messenger; @@ -131,6 +132,8 @@ init_state(state_t * s) s->rotate = 0; s->mouse_pressed = 0; + s->sdl_window_resized = 0; + s->window_w = 800; s->window_h = 600; s->cell_w = 10; |