in : /degas/lib/libggi/default/linear_4/vline.c  

line 84,85:
 *ptr=(*buf8 >> shift) | (*ptr & mask);
        *(ptr+stride) = (*(buf8++) << antishift)
            | (*(ptr+stride) & mask);

should be:(??)
    *ptr=((*buf8 & 0xf0)>> shift) | (*ptr & mask);
        *(ptr+stride) = ((*(buf8++)&0x0f) << antishift) 
            | (*(ptr+stride) & mask);


 
in : /degas/lib/libggi/default/linear_4/hline.c  line107:
  while (w-=2 > 0) {
        color <<= 8;
        color |= *(buf++);
        *(fb++) = color >> 4;
    }
should be:(??)
  while (w > 0) {
        color <<= 8;
        color |= *(buf++);
        *(fb++) = color >> 4;
        w -= 2;
    }

and the same of line 142 in same file.

Reply via email to