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_height_ = DM.h;
|
||||
|
||||
LOG_INFO("Screen resolution: [{}x{}]", screen_width_, screen_height_);
|
||||
|
||||
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) {
|
||||
props->remote_host_name_ = std::string(remote_action.i.host_name,
|
||||
remote_action.i.host_name_size);
|
||||
LOG_INFO("Remote hostname: [{}], resolution: [{}x{}]",
|
||||
props->remote_host_name_);
|
||||
LOG_INFO("Remote hostname: [{}]", props->remote_host_name_);
|
||||
}
|
||||
} else {
|
||||
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