winex11.drv: Use the bitmap's "topdown" field in X11DRV_AlphaBlend().
This commit is contained in:
parent
a2d569a0e6
commit
ba38340cdb
|
@ -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);
|
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;
|
top_down = TRUE;
|
||||||
dstbits += widthSrc * (heightSrc - 1);
|
dstbits += widthSrc * (heightSrc - 1);
|
||||||
y2 = ySrc;
|
y2 = ySrc;
|
||||||
|
|
Loading…
Reference in New Issue