mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-01 06:45:40 +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;
|
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);
|
||||||
|
Reference in New Issue
Block a user