Commit 7b2d837e authored by Ken Martin's avatar Ken Martin
Browse files

Minor change to pass line width calls through

parent da3f65d3
......@@ -381,10 +381,7 @@ void vtkOpenGLContextDevice3D::DrawPoly(const float *verts, int n,
{
vtkErrorMacro(<< "lines wider than 1.0 are not supported\n");
}
else
{
glLineWidth(this->Pen->GetWidth());
}
glLineWidth(this->Pen->GetWidth());
vtkgl::CellBO *cbo = 0;
if (colors)
......@@ -437,10 +434,7 @@ void vtkOpenGLContextDevice3D::DrawLines(const float *verts, int n,
{
vtkErrorMacro(<< "lines wider than 1.0 are not supported\n");
}
else
{
glLineWidth(this->Pen->GetWidth());
}
glLineWidth(this->Pen->GetWidth());
vtkgl::CellBO *cbo = 0;
if (colors)
......
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