mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-11 14:21:49 +08:00
Always set hints
Some hints can be useful even when window is dsabled. Refs #6754 <https://github.com/Genymobile/scrcpy/pull/6754>
This commit is contained in:
parent
758d0a1cc0
commit
003616bd2c
@ -487,11 +487,9 @@ scrcpy(struct scrcpy_options *options) {
|
||||
return SCRCPY_EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (options->window) {
|
||||
// Set hints before starting the server thread to avoid race conditions
|
||||
// in SDL
|
||||
sdl_set_hints(options->render_driver);
|
||||
}
|
||||
// Set hints before starting the server thread to avoid race conditions in
|
||||
// SDL
|
||||
sdl_set_hints(options->render_driver);
|
||||
|
||||
if (!sc_server_start(&s->server)) {
|
||||
goto end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user