Make screen_show_window() static

It is only used from screen.c now.
master
Romain Vimont 5 years ago
parent 28f6cbaea6
commit c6d7f5ee96

@ -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);
}

@ -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);

Loading…
Cancel
Save