From ba38340cdbf4d925bd9f63450468d73df294aac3 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 1 Mar 2010 12:39:53 +0100 Subject: [PATCH] winex11.drv: Use the bitmap's "topdown" field in X11DRV_AlphaBlend(). --- dlls/winex11.drv/xrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index 041e1514ee..0ff434fe8d 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -1969,7 +1969,7 @@ BOOL CDECL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT wid } dstbits = data = HeapAlloc(GetProcessHeap(), 0, heightSrc * widthSrc * 4); - if(dib.dsBmih.biHeight < 0) { /* top-down dib */ + if (devSrc->bitmap->topdown) { /* top-down dib */ top_down = TRUE; dstbits += widthSrc * (heightSrc - 1); y2 = ySrc;