Skip to content

OGL2 : Restore GL blend state after changing it with the Fixed Point Volume Rendering (bug 15838)

This should fix the bug http://www.vtk.org/Bug/view.php?id=15838

The Fixed Point ray cast helper class was changing the blending parameters without restoring its state later on.

Hence, in that case, the function vtkTextureObject::Create2DFromRaw(...) was unable to blend correctly the transparent texture pixels, for example when using a vtkTextActor or a vtkTexturedButtonRepresentation2D

@ken-martin @aashish-chaudhary

Merge request reports