Skip to content

Commit

Permalink
game: Remove unused black_surface from scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Oct 15, 2024
1 parent 05fecfe commit 66d1278
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/game/scenes/scoreboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#define CURSOR_STR "\x7f"

typedef struct scoreboard_local_t {
surface black_surface;
scoreboard data;
score_entry pending_data;
int has_pending_data;
Expand All @@ -27,7 +26,6 @@ typedef struct scoreboard_local_t {

void scoreboard_free(scene *scene) {
scoreboard_local *local = scene_get_userdata(scene);
surface_free(&local->black_surface);
omf_free(local);
scene_set_userdata(scene, local);
}
Expand Down Expand Up @@ -123,7 +121,6 @@ void scoreboard_input_tick(scene *scene) {

void scoreboard_render_overlay(scene *scene) {
scoreboard_local *local = scene_get_userdata(scene);
video_draw_size(&local->black_surface, 0, 0, 320, 200);
char row[128];
char score_text[15];
char temp_name[17];
Expand Down

0 comments on commit 66d1278

Please sign in to comment.