X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpipeline.cpp;h=0df03ca7df7231931874355f855de9c3284cd148;hb=0777840f31274f75cb4ff8e6717c44c373d5e182;hp=c6260f0ee73f15d060436ec99edf3d71aa57a3bf;hpb=0119ca4f792dc761e5248b76de71f2844c0e3997;p=libs%2Fgl.git diff --git a/source/pipeline.cpp b/source/pipeline.cpp index c6260f0e..0df03ca7 100644 --- a/source/pipeline.cpp +++ b/source/pipeline.cpp @@ -153,7 +153,7 @@ void Pipeline::render(Renderer &renderer, const Tag &tag) const { Bind bind_depth_test(i->get_depth_test()); Bind bind_blend(i->get_blend()); - Bind bind_lighting(i->get_lighting()); + renderer.set_lighting(i->get_lighting()); for(vector::const_iterator j=renderables.begin(); j!=renderables.end(); ++j) if(j->passes.empty() || j->passes.count(i->get_tag()))