render: fixes to how we convert touch events for logical scaling.

We now handle HiDPI correctly, and touches are clamped to the viewport. So
if you are rendering to a logical 640x480 in a 720p window, and touch the
letterboxing at point (640,700), it will report the touch at (0.5,1.0) instead
of outside the documented range.

extra : rebase_source : 87c75935f2c0e71611ee57621b92622f2ae0ee2e
1 file changed