Mercurial > sdl-ios-xcode
changeset 1546:4b835e36633d
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Mar 2006 00:35:21 +0000 |
parents | 8d9bb0cf2c2a |
children | dd05d6ee234e |
files | src/video/SDL_blit_A.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_blit_A.c Wed Mar 15 17:46:41 2006 +0000 +++ b/src/video/SDL_blit_A.c Thu Mar 16 00:35:21 2006 +0000 @@ -2175,7 +2175,7 @@ d = (d | d << 16) & 0x07e0f81f; d += (s - d) * alpha >> 5; d &= 0x07e0f81f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); },{ s = *srcp++; d = *dstp; @@ -2188,7 +2188,7 @@ d = (d | d << 16) & 0x07e0f81f; d += (s - d) * alpha >> 5; d &= 0x07e0f81f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); s = *srcp++; d = *dstp; /* @@ -2200,7 +2200,7 @@ d = (d | d << 16) & 0x07e0f81f; d += (s - d) * alpha >> 5; d &= 0x07e0f81f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); },{ src1 = *(__m64*)srcp; /* 4 src pixels -> src1 */ dst1 = *(__m64*)dstp; /* 4 dst pixels -> dst1 */ @@ -2310,7 +2310,7 @@ d = (d | d << 16) & 0x03e07c1f; d += (s - d) * alpha >> 5; d &= 0x03e07c1f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); },{ s = *srcp++; d = *dstp; @@ -2323,7 +2323,7 @@ d = (d | d << 16) & 0x03e07c1f; d += (s - d) * alpha >> 5; d &= 0x03e07c1f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); s = *srcp++; d = *dstp; /* @@ -2335,7 +2335,7 @@ d = (d | d << 16) & 0x03e07c1f; d += (s - d) * alpha >> 5; d &= 0x03e07c1f; - *dstp++ = d | d >> 16; + *dstp++ = (Uint16)(d | d >> 16); },{ src1 = *(__m64*)srcp; /* 4 src pixels -> src1 */ dst1 = *(__m64*)dstp; /* 4 dst pixels -> dst1 */