gdiplus: Support for indexed formats in GdipBitmapSetPixel

Paul Vriens paul.vriens.wine at gmail.com
Tue Jan 11 02:38:38 CST 2011


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.

-- 
Cheers,

Paul.




More information about the wine-devel mailing list