Add mixed comments to input code, make some tooltip clearer

This commit is contained in:
Filoppi
2021-05-04 23:50:23 +03:00
parent e9e41b925b
commit f4fec42165
10 changed files with 28 additions and 9 deletions

View File

@ -770,6 +770,7 @@ void Renderer::UpdateDrawRectangle()
const float win_width = static_cast<float>(m_backbuffer_width);
const float win_height = static_cast<float>(m_backbuffer_height);
// FIXME: this breaks at very low widget sizes
// Make ControllerInterface aware of the render window region actually being used
// to adjust mouse cursor inputs.
g_controller_interface.SetAspectRatioAdjustment(draw_aspect_ratio / (win_width / win_height));