[fix] fix log error

This commit is contained in:
dijunkun
2025-04-18 15:39:31 +08:00
parent 188b1758f2
commit f7f8ddd925
3 changed files with 4 additions and 3 deletions

View File

@@ -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");
}

View File

@@ -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_) {