mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-30 22:05:12 +00:00
Make screen_show_window() static
It is only used from screen.c now.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user