Mercurial > pygame
diff src/pixelarray.c @ 887:5125fa1720a9
Fixed stupid compiler error for big endian platforms.
| author | marcus |
|---|---|
| date | Fri, 18 Jan 2008 21:24:44 +0000 |
| parents | c118f24c47eb |
| children | 3cc4c037f5ef |
line wrap: on
line diff
--- a/src/pixelarray.c Wed Jan 09 08:29:22 2008 +0000 +++ b/src/pixelarray.c Fri Jan 18 21:24:44 2008 +0000 @@ -753,11 +753,11 @@ *(px + (format->Bshift >> 3)) = *(vpx + (vformat->Bshift >> 3)); #else *(px + 2 - (format->Rshift >> 3)) = - *(vpx + 2 - (vformat->Rshift >> 3)) + *(vpx + 2 - (vformat->Rshift >> 3)); *(px + 2 - (format->Gshift >> 3)) = - *(vpx + 2 - (vformat->Gshift >> 3)) + *(vpx + 2 - (vformat->Gshift >> 3)); *(px + 2 - (format->Bshift >> 3)) = - *(vpx + 2 - (vformat->Bshift >> 3)) + *(vpx + 2 - (vformat->Bshift >> 3)); #endif } }
