Unified · Split
| @@ -1 +1 @@ | |||
| 1 | #define VERSION "Fourth Edition (20100715)" | 1 | #define VERSION "Fourth Edition (20100718)" |
| @@ -2465,7 +2465,7 @@ membyteval(Memimage *src) · 2464 unmodified lines | |||
| 2465 | bpp = src->depth; | 2465 | bpp = src->depth; |
| 2466 | uc <<= (src->r.min.x&(7/src->depth))*src->depth; | 2466 | uc <<= (src->r.min.x&(7/src->depth))*src->depth; |
| 2467 | uc &= ~(0xFF>>bpp); | 2467 | uc &= ~(0xFF>>bpp); |
| 2468 | /* pixel value is now in high part of byte. repeat throughout byte | 2468 | // pixel value is now in high part of byte. repeat throughout byte |
| 2469 | val = uc; | 2469 | val = uc; |
| 2470 | for(i=bpp; i<8; i<<=1) | 2470 | for(i=bpp; i<8; i<<=1) |
| 2471 | val |= val>>i; | 2471 | val |= val>>i; |