Commit a720d1a294f7af5ea1ea547f53307fde422af96e

Ryan C. Gordon 2020-08-09T00:55:39

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.