Commit b0476b16 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed deprecation warning

parent 398d4436
......@@ -686,9 +686,6 @@ getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::S
// init base render object
ACG::RenderObject ro;
_state.enable(GL_COLOR_MATERIAL);
_state.enable(GL_LIGHTING);
ro.initFromState(&_state);
ro.setMaterial(_mat);
......
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