Re: gdiplus: Support for indexed formats in GdipBitmapSetPixel
11 Jan
2011
11 Jan
'11
8:38 a.m.
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.
5452
Age (days ago)
5452
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Vriens