Commit 87059513 authored by Bill Lorensen's avatar Bill Lorensen
Browse files

ERR: Replaced glColor3ubv with glColor4ubv to include alpha from lut.

parent 840bdf69
......@@ -239,7 +239,7 @@ void vtkOglrPolyMapper::Draw(vtkRenderer *aren, vtkActor *act)
{
if (c)
{
glColor3ubv(c->GetColor(pts[j]));
glColor4ubv(c->GetColor(pts[j]));
}
if (t)
......@@ -294,7 +294,7 @@ void vtkOglrPolyMapper::Draw(vtkRenderer *aren, vtkActor *act)
{
if (c)
{
glColor3ubv(c->GetColor(pts[j]));
glColor4ubv(c->GetColor(pts[j]));
}
if (n)
......@@ -326,7 +326,7 @@ void vtkOglrPolyMapper::Draw(vtkRenderer *aren, vtkActor *act)
{
if (c)
{
glColor3ubv(c->GetColor(pts[j]));
glColor4ubv(c->GetColor(pts[j]));
}
if (n)
......
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