The destructor for TextureRefHolder does not handle a lost context

Bug #1427882 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Fix Released
Undecided
Chris Coulson

Bug Description

The destructor for TextureRefHolder calls GLES2Decoder::MakeCurrent() before dropping its reference to TextureRef, but MakeCurrent() will fail if the GL context is lost. In this case, bad things will happen if TextureRef is the last reference to the underlying Texture, as TextureManager assumes the caller has made the context current and attempts to delete the texture

Changed in oxide:
assignee: nobody → Chris Coulson (chrisccoulson)
status: New → Fix Released
milestone: none → branch-1.6
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.