• Ken Martin's avatar
    fix an issue with release graphics resources · f089989f
    Ken Martin authored
    If someone released graphics resources it sets the callback to
    an empty Window but leaves the Context Set. If they then set the
    the context back to the same context is was not setting the
    new WindowId on the texture. Arguably Releasing graphcis resources
    should set the Context to NULL but I am going with this fix as it
    more closely matches the old behavior of leaving Context set.
vtkTextureObject.cxx 61.1 KB