mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 12:15:34 +08:00
[fix] use SDL_RestoreWindow() to reset the window when closed during streaming
This commit is contained in:
@@ -527,8 +527,7 @@ int Render::Run() {
|
||||
connection_established_ = false;
|
||||
received_frame_ = false;
|
||||
is_client_mode_ = false;
|
||||
SDL_SetWindowSize(main_window_, main_window_width_default_,
|
||||
main_window_height_default_);
|
||||
SDL_RestoreWindow(main_window_);
|
||||
continue;
|
||||
} else {
|
||||
LOG_INFO("Quit program");
|
||||
|
||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: 4624d4f27f...e2e053a285
Reference in New Issue
Block a user