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
wgpu_context: don't reconfigure while a surface output is alive (#66)
wgpu forbids `Surface::configure` while a `SurfaceOutput` is alive, which
panicked on the first acquire after a resize/maximize (reported suboptimal).
`get_current_texture` is now stored as `Option<SurfaceTexture>`. A suboptimal
texture is still presentable, so it is rendered as-is (size changes are
reconfigured in `resize`), avoiding any per-frame reconfigure churn. Only
`Outdated`/`Lost` surfaces — which carry no live output — are reconfigured and
re-acquired once, via `acquire_reconfiguring_if_stale` on `SurfaceRenderer`.
0 commit comments