]> git.tdb.fi Git - libs/gl.git/commit
Unbind Lighting in Renderer destructor
authorMikko Rasa <tdb@tdb.fi>
Mon, 25 Nov 2013 18:29:32 +0000 (20:29 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 25 Nov 2013 18:29:32 +0000 (20:29 +0200)
commit1fd01d88c69f7814b2d3e1b12cf0d257fffa6db7
tree4a0477c3ef2b00cf61d44fd956c75a8b0b08cf37
parent798703e937da6b4bbbc4a33f6670ca6fa61e47c3
Unbind Lighting in Renderer destructor

This solves a problem where the same lightning would get bound later and
retain an incorrect matrix due to already being bound.  It's not really a
proper fix but works in the most common cases.
source/renderer.cpp