mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix log error
This commit is contained in:
@@ -779,6 +779,8 @@ void Render::InitializeSDL() {
|
|||||||
screen_width_ = DM.w;
|
screen_width_ = DM.w;
|
||||||
screen_height_ = DM.h;
|
screen_height_ = DM.h;
|
||||||
|
|
||||||
|
LOG_INFO("Screen resolution: [{}x{}]", screen_width_, screen_height_);
|
||||||
|
|
||||||
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1");
|
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,8 +270,7 @@ void Render::OnReceiveDataBufferCb(const char *data, size_t size,
|
|||||||
if (ControlType::host_infomation == remote_action.type) {
|
if (ControlType::host_infomation == remote_action.type) {
|
||||||
props->remote_host_name_ = std::string(remote_action.i.host_name,
|
props->remote_host_name_ = std::string(remote_action.i.host_name,
|
||||||
remote_action.i.host_name_size);
|
remote_action.i.host_name_size);
|
||||||
LOG_INFO("Remote hostname: [{}], resolution: [{}x{}]",
|
LOG_INFO("Remote hostname: [{}]", props->remote_host_name_);
|
||||||
props->remote_host_name_);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ControlType::mouse == remote_action.type && render->mouse_controller_) {
|
if (ControlType::mouse == remote_action.type && render->mouse_controller_) {
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: 38c88e27e0...fb00234498
Reference in New Issue
Block a user