Make screen_show_window() static

It is only used from screen.c now.
This commit is contained in:
Romain Vimont 2021-04-13 22:04:38 +02:00
parent 28f6cbaea6
commit c6d7f5ee96
2 changed files with 1 additions and 5 deletions

View file

@ -365,7 +365,7 @@ screen_init(struct screen *screen, struct video_buffer *vb,
return true;
}
void
static void
screen_show_window(struct screen *screen) {
SDL_ShowWindow(screen->window);
}

View file

@ -60,10 +60,6 @@ screen_init(struct screen *screen, struct video_buffer *vb,
struct fps_counter *fps_counter,
const struct screen_params *params);
// show the window
void
screen_show_window(struct screen *screen);
// destroy window, renderer and texture (if any)
void
screen_destroy(struct screen *screen);