Checks that the scale factor is a normal positive
All functions that take a scale factor assert that this will return
true. If you’re sourcing scale factors from
anywhere other than winit, it’s recommended to validate them using this function before passing them to winit;
otherwise, you risk panics.