mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 12:05:00 +00:00
TODO
This commit is contained in:
parent
d7106d7009
commit
b4ee797401
2 changed files with 2 additions and 0 deletions
|
@ -365,6 +365,7 @@ scrcpy(struct scrcpy_options *options) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// TODO SDL_Init(SDL_INIT_EVENTS) before starting server
|
||||
if (!server_start(&s->server)) {
|
||||
goto end;
|
||||
}
|
||||
|
|
|
@ -360,6 +360,7 @@ connect_to_server(uint16_t port, uint32_t attempts, uint32_t delay) {
|
|||
// it worked!
|
||||
return socket;
|
||||
}
|
||||
// TODO use mutex + condvar + bool stopped
|
||||
if (attempts) {
|
||||
SDL_Delay(delay);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue