An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 3bdcbfd6 authored by Ken Martin's avatar Ken Martin
Browse files

lighting fix

parent 1336db5e
......@@ -142,7 +142,7 @@ int vtkOglrRenderer::UpdateLights ()
// and we aren't out of lights
if ((this->BackLight > 0.0) &&
(cur_light < (GL_LIGHT0+MAX_LIGHTS)) &&
(light->GetPositional()))
((!light->GetPositional())))
{
glEnable(cur_light);
// if backlighting is on then increment the current light again
......
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