-
Zack Galbreath authored
This commit resolves a bug within vtkOpenGLContextDevice2D::Private::TextureFromImage that can potentially cause a segmentation fault. This error occurred when I attempted to draw a 1D horizontal texture using OpenGL v1. Until my recent work on vtkColorLegend, this bug remained hidden because the only tests covering this function used either a 2D square texture or a 1D vertical texture. Change-Id: If4e39b2216a074e37c20611c0c8412e18c2689e3
a3761161