mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
f11a656426
Previously the cache was only filled during gpu-buffer creation, resulting in extra work on the CPU to transform vertices if the same shape was used multiple times in the same frame. Cases such as font rendering was cached already before this change as it is drawn in it's own op.Ops that is never reset - and thus re-used from one frame to the next. Since we are now calling put() twice per frame an update should no longer panic. Signed-off-by: Viktor <viktor.ogeman@gmail.com>