mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +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. |
||
---|---|---|
.. | ||
default | ||
gl | ||
qt | ||
testing |