On 01/11/2011 02:26 AM, MP wrote:
case PixelFormat8bppIndexed:
setpixel_8bppIndexed(r,g,b,a,row,x,bitmap);
break;
case PixelFormat4bppIndexed:
setpixel_8bppIndexed(r,g,b,a,row,x,bitmap);
break;
case PixelFormat1bppIndexed:
setpixel_8bppIndexed(r,g,b,a,row,x,bitmap);
break;
Hi,
Didn't check the other part of the patch for correctness but you are calling the same function here for 3 different formats.