mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 16:07:45 +00:00
- 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:
parent
12985cf635
commit
228c6f976f
1 changed files with 0 additions and 1 deletions
|
@ -174,7 +174,6 @@ struct FDynLightData
|
||||||
siz[0]>>=2;
|
siz[0]>>=2;
|
||||||
siz[1]>>=2;
|
siz[1]>>=2;
|
||||||
siz[2]>>=2;
|
siz[2]>>=2;
|
||||||
max<<=1;
|
|
||||||
if (siz[0] > max) siz[0] = max;
|
if (siz[0] > max) siz[0] = max;
|
||||||
if (siz[1] > max) siz[1] = max;
|
if (siz[1] > max) siz[1] = max;
|
||||||
if (siz[2] > max) siz[2] = max;
|
if (siz[2] > max) siz[2] = max;
|
||||||
|
|
Loading…
Reference in a new issue