gdiplus: Print fixme in GdipGetNearestColor only once.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
54cd29bd38
commit
a99cad4ae7
|
@ -4785,8 +4785,9 @@ GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics *graphics, ARGB* argb)
|
|||
|
||||
if (graphics->image->type == ImageTypeBitmap)
|
||||
{
|
||||
static int once;
|
||||
GpBitmap *bitmap = (GpBitmap *)graphics->image;
|
||||
if (IsIndexedPixelFormat(bitmap->format))
|
||||
if (IsIndexedPixelFormat(bitmap->format) && !once++)
|
||||
FIXME("(%p, %p): Passing color unmodified\n", graphics, argb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue