Fixed bad shadow count assert in shadermanager.cpp.

ver1_5_1
Chris Laurel 2008-01-17 21:20:27 +00:00
parent 02f4e96527
commit c780653eeb
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ ShaderProperties::getShadowCountForLight(unsigned int i) const
void
ShaderProperties::setShadowCountForLight(unsigned int light, unsigned int n)
{
assert(n < MaxShaderShadows);
assert(n <= MaxShaderShadows);
assert(light < MaxShaderLights);
if (n <= MaxShaderShadows && light < MaxShaderLights)
{