From 2a8f4b1bdcdc401c6dc71a6c136fd8b83bebde80 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 30 Jul 2024 18:19:04 +0300 Subject: [PATCH] clean the t_ctx a bit --- src/context.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/context.h b/src/context.h index d2a6361..a36e59a 100644 --- a/src/context.h +++ b/src/context.h @@ -28,8 +28,6 @@ typedef struct context { SDL_AudioFormat audio_stream_format; uint8_t audio_stream_channel_count; - struct circle_radius_cache_item *circle_radius_hash; - /* main loop machinery */ int64_t clocks_per_second; int64_t prev_frame_time; @@ -54,14 +52,13 @@ typedef struct context { int window_w; int window_h; - bool was_successful; - /* you may read from and write to these from game code */ void *udata; + bool debug; bool is_running; bool resync_flag; - + bool was_successful; bool window_size_has_changed; } t_ctx;