clean the t_ctx a bit

This commit is contained in:
veclav talica 2024-07-30 18:19:04 +03:00
parent 7bfcb26352
commit 2a8f4b1bdc

View File

@ -28,8 +28,6 @@ typedef struct context {
SDL_AudioFormat audio_stream_format; SDL_AudioFormat audio_stream_format;
uint8_t audio_stream_channel_count; uint8_t audio_stream_channel_count;
struct circle_radius_cache_item *circle_radius_hash;
/* main loop machinery */ /* main loop machinery */
int64_t clocks_per_second; int64_t clocks_per_second;
int64_t prev_frame_time; int64_t prev_frame_time;
@ -54,14 +52,13 @@ typedef struct context {
int window_w; int window_w;
int window_h; int window_h;
bool was_successful;
/* you may read from and write to these from game code */ /* you may read from and write to these from game code */
void *udata; void *udata;
bool debug; bool debug;
bool is_running; bool is_running;
bool resync_flag; bool resync_flag;
bool was_successful;
bool window_size_has_changed; bool window_size_has_changed;
} t_ctx; } t_ctx;