mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() Properly release GL resource when unmapping a window and detect stale cache indices using a generation count. This fixes the disappearing images (GL textures would be invalid and need to be re-created) as well as the panics when an item's cache index ended up being re-used because some other item was drawn first and allocated that indices. The latter is fixed by using a generational counter on the cache that's bumped when clearing, instead of a single "cache_ok" bool. |
||
---|---|---|
.. | ||
fonts | ||
Cargo.toml | ||
eventloop.rs | ||
fonts.rs | ||
graphics_window.rs | ||
images.rs | ||
lib.rs | ||
svg.rs |