gdiplus: Access bitmaps by row in alpha_blend_bmp_pixels.

oldstable
Vincent Povirk 2015-03-17 16:11:14 -05:00 committed by Alexandre Julliard
parent 08c1e6cd96
commit 0bec10bc3d
1 changed files with 2 additions and 2 deletions

View File

@ -360,9 +360,9 @@ static GpStatus alpha_blend_bmp_pixels(GpGraphics *graphics, INT dst_x, INT dst_
GpBitmap *dst_bitmap = (GpBitmap*)graphics->image;
INT x, y;
for (x=0; x<src_width; x++)
for (y=0; y<src_height; y++)
{
for (y=0; y<src_height; y++)
for (x=0; x<src_width; x++)
{
ARGB dst_color, src_color;
src_color = ((ARGB*)(src + src_stride * y))[x];