]> git.tdb.fi Git - libs/gl.git/commit
Only check against number of light units when binding Lighting
authorMikko Rasa <tdb@tdb.fi>
Fri, 17 Oct 2014 19:28:51 +0000 (22:28 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 17 Oct 2014 19:28:51 +0000 (22:28 +0300)
commit9fff9eb832db3b64416ae49bbdc826f33e3ceb19
treef6840b4a321c70afda647d7074009dd69f8ad25c
parent08abb340625c6d281496095f2a664f27570c2b64
Only check against number of light units when binding Lighting

Feeding lights to shaders through ProgramData is not subject to
GL_MAX_LIGHTS, it makes sense to remove that limit from attaching them.
source/lighting.cpp