gdiplus: Always use software to draw bitmaps to bitmaps.

This commit is contained in:
Vincent Povirk 2010-04-15 15:26:15 -05:00 committed by Alexandre Julliard
parent 4247247787
commit 8b2543b750
1 changed files with 1 additions and 8 deletions

View File

@ -1996,16 +1996,9 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
return NotImplemented;
if (imageAttributes ||
(graphics->image && graphics->image->type == ImageTypeBitmap) ||
ptf[1].Y != ptf[0].Y || ptf[2].X != ptf[0].X)
use_software = 1;
else if (graphics->image && graphics->image->type == ImageTypeBitmap)
{
GpBitmap *dst_bitmap = (GpBitmap*)graphics->image;
if (!(dst_bitmap->format == PixelFormat16bppRGB555 ||
dst_bitmap->format == PixelFormat24bppRGB ||
dst_bitmap->format == PixelFormat32bppRGB))
use_software = 1;
}
if (use_software)
{