winex11.drv: Use the bitmap's "topdown" field in X11DRV_AlphaBlend().

This commit is contained in:
Henri Verbeet 2010-03-01 12:39:53 +01:00 committed by Alexandre Julliard
parent a2d569a0e6
commit ba38340cdb
1 changed files with 1 additions and 1 deletions

View File

@ -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;