mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
x11drv: GdiAlphaBlend fix for X errors if width or height is 0.
This commit is contained in:
parent
e1afe33ac7
commit
ff83068820
1 changed files with 1 additions and 0 deletions
|
@ -1526,6 +1526,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
|
|||
ySrc = pts[0].y;
|
||||
widthSrc = pts[1].x - pts[0].x;
|
||||
heightSrc = pts[1].y - pts[0].y;
|
||||
if (!widthDst || !heightDst || !widthSrc || !heightSrc) return TRUE;
|
||||
|
||||
#ifndef HAVE_XRENDERSETPICTURETRANSFORM
|
||||
if(widthDst != widthSrc || heightDst != heightSrc)
|
||||
|
|
Loading…
Reference in a new issue