refactor: clean unused variables

This commit is contained in:
2025-11-23 15:36:21 +01:00
parent c7ae4191d3
commit 7120bc0207
4 changed files with 4 additions and 11 deletions
-2
View File
@@ -61,8 +61,6 @@ static void init_context(const Parameters *params) {
state_init(context, &project.state_config, params->demo, params->auto_random,
params->auto_random_cycle, params->base_tempo, params->load_state);
context->monitor = params->monitor;
memset(context->input_resolutions, 0, sizeof(context->input_resolutions));
memset(context->input_formats, 0, sizeof(context->input_formats));
memset(context->input_fps, 0, sizeof(context->input_fps));
+1 -5
View File
@@ -171,13 +171,10 @@ typedef struct Tempo {
typedef struct SharedContext {
int fd;
vec2 resolution;
vec2 tex_resolution;
vec2 input_resolutions[MAX_VIDEO];
double time;
unsigned int fps;
Tempo tempo;
double tempo_total;
UintArray state;
@@ -189,8 +186,7 @@ typedef struct SharedContext {
bool auto_random;
unsigned int auto_random_cycle;
unsigned int seeds[MAX_FRAG];
bool monitor;
unsigned int fps;
unsigned int input_formats[MAX_VIDEO];
unsigned int input_fps[MAX_VIDEO];
bool stop;