mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-19 19:15:08 +00:00
setwindowsize
This commit is contained in:
parent
71c98d0ade
commit
9882b6a578
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ screen_init_rendering(struct screen *screen, const char *window_title,
|
|||
return false;
|
||||
}
|
||||
|
||||
SDL_SetWindowSize(screen->window, window_size.width, window_size.height);
|
||||
|
||||
screen_update_content_rect(screen);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue