PistonDevelopers / glutin_window

A Piston window back-end using the Glutin library
MIT License
25 stars 40 forks source link

Fix the resize factor according to glutin README. #148

Closed arnodb closed 5 years ago

arnodb commented 6 years ago

Hi, I've been testing Piston with Glutin backend for weeks under Windows without problem and suddenly saw a problem when I switched to a decent OS (Linux).

So I investigated and realized the dpi_factor was applied incorrectly in the handler of resize events. This PR fixes the issue on my Linux box but I haven't tested it back on the Windows.

Cheers!

bvssvni commented 5 years ago

Replaced by https://github.com/PistonDevelopers/glutin_window/pull/149