From 0c16613056b1d60b282b512bd842eadbad2062de Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 7 Apr 2016 09:10:09 +0200 Subject: [PATCH] Fix a nasty typo --- Sources/Engine/Light/LayerMixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Engine/Light/LayerMixer.cpp b/Sources/Engine/Light/LayerMixer.cpp index e32982f..66762a2 100644 --- a/Sources/Engine/Light/LayerMixer.cpp +++ b/Sources/Engine/Light/LayerMixer.cpp @@ -1998,7 +1998,7 @@ __forceinline void CLayerMixer::FillShadowLayer( COLOR col) { #if (defined USE_PORTABLE_C) DWORD* dst = (DWORD*)lm_pulShadowMap; - int n = lm_pixCanvasSizeV*lm_pixCanvasSizeV; + int n = lm_pixCanvasSizeU*lm_pixCanvasSizeV; DWORD color = __builtin_bswap32(col); while(n--) {*(dst++)=color;} #elif (defined __MSVC_INLINE__)