Mercurial > mm7
diff Render.cpp @ 2098:7810cb3a5fb7
Popup window in MainMenu not shown
author | Ritor1 |
---|---|
date | Fri, 13 Dec 2013 16:10:36 +0600 |
parents | 2b39f6b451f9 |
children | ee2724b9ca05 |
line wrap: on
line diff
--- a/Render.cpp Fri Dec 13 11:51:51 2013 +0600 +++ b/Render.cpp Fri Dec 13 16:10:36 2013 +0600 @@ -7084,7 +7084,7 @@ void *pDst = (char *)pTargetSurface + (FORCE_16_BITS ? 2 : 4) * (uX + (y + uY) * uTargetSurfacePitch); memset32(pDst, - FORCE_16_BITS ? twoColors : 0xFF000000 |Color32(uColor16), // two colors per int (16bit) or 1 (32bit) + FORCE_16_BITS ? twoColors : 0xFF000000 | Color32(uColor16), // two colors per int (16bit) or 1 (32bit) uWidth / (FORCE_16_BITS ? 2 : 1)); // two pixels per int (16bit) or 1 (32bit) if (FORCE_16_BITS && uWidth & 1) // we may miss one pixel for 16bit