Commit f9724c30 authored by Dave DeMarle's avatar Dave DeMarle
Browse files

Bug 0014446-must enable blending when we use it

Per we must be sure to enable blending
before we use it.

Thanks Stephan Rademacher for catching it.

Change-Id: I0678b90bd869579413a6267fece356045c41d305
parent 41771964
......@@ -206,6 +206,8 @@ void vtkOpenGLRayCastImageDisplayHelper::RenderTextureInternal( vtkVolume *vol,
glPixelTransferf( GL_BLUE_SCALE, this->PixelScale );
glPixelTransferf( GL_ALPHA_SCALE, this->PixelScale );
glEnable( GL_BLEND );
if ( this->PreMultipliedColors )
// Values in the texture map have already been pre-multiplied by alpha
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment