Add non multithread mode
This commit is contained in:
@@ -85,7 +85,7 @@ void init_switches(Switches *switches, SDL_Renderer *renderer, int x, int y, int
|
||||
fprintf(stderr, "Failed to create texture: %s\n", SDL_GetError());
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
switches->value = (1 << 0) | (1 << 1);
|
||||
switches->value = 0;
|
||||
generate_switch_rects(switches);
|
||||
update_switches_texture(renderer, switches);
|
||||
}
|
||||
|
Reference in New Issue
Block a user