From 228c6f976f5fbeb9217a7f826f35004632049764 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 Nov 2013 12:53:34 +0100 Subject: [PATCH] - fixed: the size limit for dynamic light uniforms was not checked properly, causing artifacts when there were too many dynamic lights. --- src/gl/dynlights/gl_dynlight.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gl/dynlights/gl_dynlight.h b/src/gl/dynlights/gl_dynlight.h index e4242d8f9..ca3b2ec90 100644 --- a/src/gl/dynlights/gl_dynlight.h +++ b/src/gl/dynlights/gl_dynlight.h @@ -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;