Vincent Povirk : gdiplus: Access bitmaps by row in alpha_blend_bmp_pixels.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Mar 18 10:26:28 CDT 2015
Module: wine
Branch: master
Commit: 0bec10bc3dc9576a42929de7d016a9be45022810
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0bec10bc3dc9576a42929de7d016a9be45022810
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Tue Mar 17 16:11:14 2015 -0500
gdiplus: Access bitmaps by row in alpha_blend_bmp_pixels.
---
dlls/gdiplus/graphics.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 4ed25c9..6d86e3a 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -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];
More information about the wine-cvs
mailing list