The atomic mouse coordinates now use atomic functions and mouse movement is no longer scaled by DPI if mouse coordinates are not raw.
This commit is contained in:
@@ -115,8 +115,8 @@ RendererCommon::onResize(int width, int height)
|
||||
}
|
||||
}
|
||||
|
||||
monitors[r_monitor_index].mon_res_x = (int) ((double) destination.width() * plat_get_dpi());
|
||||
monitors[r_monitor_index].mon_res_y = (int) ((double) destination.height() * plat_get_dpi());
|
||||
monitors[r_monitor_index].mon_res_x = (double) destination.width();
|
||||
monitors[r_monitor_index].mon_res_y = (double) destination.height();
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user