[client] remove noise about scaling/alignment as this is fixed

This commit is contained in:
Geoffrey McRae 2018-05-29 08:27:46 +10:00
parent 4d81aaa763
commit 64ad862116

View File

@ -170,16 +170,6 @@ static inline void updatePositionInfo()
state.scaleX = (float)state.srcSize.y / (float)state.dstRect.h; state.scaleX = (float)state.srcSize.y / (float)state.dstRect.h;
state.scaleY = (float)state.srcSize.x / (float)state.dstRect.w; state.scaleY = (float)state.srcSize.x / (float)state.dstRect.w;
DEBUG_INFO("client %dx%d, guest %dx%d, target %dx%d, scaleX: %.2f, scaleY %.2f",
w, h,
state.srcSize.x, state.srcSize.y,
state.dstRect.w, state.dstRect.h,
state.scaleX , state.scaleY
);
if (w != state.srcSize.x || h != state.srcSize.y)
DEBUG_WARN("Window size doesn't match guest resolution, cursor alignment may not be reliable");
if (state.lgr) if (state.lgr)
state.lgr->on_resize(state.lgrData, w, h, state.dstRect); state.lgr->on_resize(state.lgrData, w, h, state.dstRect);
} }