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