Winit doesn't seem to able to return a floating point scaling value. So, when setting the resolution, unless the scaling factor is 1 or 2, for example, then the physical resolution will be incorrect.
I generally have my scaling at 4/3=1.333334, so the scaling factor returns 1 incorrectly.
Winit doesn't seem to able to return a floating point scaling value. So, when setting the resolution, unless the scaling factor is
1
or2
, for example, then the physical resolution will be incorrect.I generally have my scaling at
4/3
=
1.333334
, so the scaling factor returns1
incorrectly.