Make screen_show_window() static
It is only used from screen.c now.
This commit is contained in:
parent
28f6cbaea6
commit
c6d7f5ee96
2 changed files with 1 additions and 5 deletions
|
@ -365,7 +365,7 @@ screen_init(struct screen *screen, struct video_buffer *vb,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
screen_show_window(struct screen *screen) {
|
screen_show_window(struct screen *screen) {
|
||||||
SDL_ShowWindow(screen->window);
|
SDL_ShowWindow(screen->window);
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,10 +60,6 @@ screen_init(struct screen *screen, struct video_buffer *vb,
|
||||||
struct fps_counter *fps_counter,
|
struct fps_counter *fps_counter,
|
||||||
const struct screen_params *params);
|
const struct screen_params *params);
|
||||||
|
|
||||||
// show the window
|
|
||||||
void
|
|
||||||
screen_show_window(struct screen *screen);
|
|
||||||
|
|
||||||
// destroy window, renderer and texture (if any)
|
// destroy window, renderer and texture (if any)
|
||||||
void
|
void
|
||||||
screen_destroy(struct screen *screen);
|
screen_destroy(struct screen *screen);
|
||||||
|
|
Loading…
Reference in a new issue