Fix a nasty typo

This commit is contained in:
ptitSeb 2016-04-07 09:10:09 +02:00
parent 3ec4d484e2
commit 0c16613056

View File

@ -1998,7 +1998,7 @@ __forceinline void CLayerMixer::FillShadowLayer( COLOR col)
{ {
#if (defined USE_PORTABLE_C) #if (defined USE_PORTABLE_C)
DWORD* dst = (DWORD*)lm_pulShadowMap; DWORD* dst = (DWORD*)lm_pulShadowMap;
int n = lm_pixCanvasSizeV*lm_pixCanvasSizeV; int n = lm_pixCanvasSizeU*lm_pixCanvasSizeV;
DWORD color = __builtin_bswap32(col); DWORD color = __builtin_bswap32(col);
while(n--) {*(dst++)=color;} while(n--) {*(dst++)=color;}
#elif (defined __MSVC_INLINE__) #elif (defined __MSVC_INLINE__)