mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
Backport of #8171 for the 0.34.3 patch release, adapted to avoid the breaking API changes on main (the `window` argument to the public `Painter::paint_and_update_textures` and the new `SurfaceErrorAction` variant). The owned window handle is stashed in `SurfaceState` instead. Co-authored-by: Jochen Görtler <grtlr@users.noreply.github.com>