You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the default for RenderTargetInfo::scale_factor to 1. (#21082)
# Objective
The default for `RenderTargetInfo`'s `scale_factor` field is `0.` but
it's much more natural to assume that it would be `1.`.
A scale factor of `0.` is degenerate, and could potentially cause a
panic.
## Solution
Set it to `1.` by default.
0 commit comments