- fixed: the size limit for dynamic light uniforms was not checked properly, causing artifacts when there were too many dynamic lights.

This commit is contained in:
Christoph Oelckers 2013-11-30 12:53:34 +01:00
parent 12985cf635
commit 228c6f976f
1 changed files with 0 additions and 1 deletions

View File

@ -174,7 +174,6 @@ struct FDynLightData
siz[0]>>=2;
siz[1]>>=2;
siz[2]>>=2;
max<<=1;
if (siz[0] > max) siz[0] = max;
if (siz[1] > max) siz[1] = max;
if (siz[2] > max) siz[2] = max;