Fix missing viewport surfaces after a skipped startup frame (#1791)

Thanks @allisonChilton.
This commit is contained in:
allisonChilton authored and GitHub committed 2026-10-17 06:10:46 -04:00
1 parent 44732f8b40
commit 8c58efdecf
3 files changed
+45 -37

No files matched your search

+2
View File
@@ -210,3 +210,5 @@ SolidCraft changes:
clamped to it (`clamp_surface_extent`, aspect ratio kept) and egui is drawn at the matching
smaller scale, instead of a `Surface::configure` validation panic (#869). The resize path and
an unsupported surface no longer unwrap.
- `src/winit.rs`: acquire a drawable before preparing paint callbacks, so a skipped
surface frame cannot discard initialization commands for cached viewport meshes.