How to get hidpi_factor from piston_window?

I struggled to get the hidpi_factor from piston_window; found a 2 year old reference to:


and a 3 year old reference to:


Neither one worked with piston_window = "0.110.0"

Is there a way to get the hidpi_factor from piston_window? ;or any way to get an hidpi_factor?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.