Skip to content

Images display briefly before disappearing - Upgrading 0.16 to 0.17 #1424

Answered by emilk
JosephCatrambone asked this question in Q&A
Discussion options

You must be logged in to vote

You create a RetainedImage, and then it directly goes out of scope, and Drops, killing the image it is containing. So the texture id is dangling. You should store the whole RetainedImage in the thumbnail_cache (i.e. retain it).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JosephCatrambone
Comment options

Answer selected by JosephCatrambone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants