mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:23:01 +00:00
IntEngGradientFill: fix cleanup when calling the driver
svn path=/trunk/; revision=33996
This commit is contained in:
parent
2e105930d6
commit
8594831504
1 changed files with 5 additions and 4 deletions
|
@ -571,11 +571,12 @@ IntEngGradientFill(
|
||||||
Ret = GDIDEVFUNCS(psoDest).GradientFill(
|
Ret = GDIDEVFUNCS(psoDest).GradientFill(
|
||||||
psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh,
|
psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh,
|
||||||
prclExtents, pptlDitherOrg, ulMode);
|
prclExtents, pptlDitherOrg, ulMode);
|
||||||
MouseSafetyOnDrawEnd(psoDest);
|
|
||||||
return Ret;
|
|
||||||
}
|
}
|
||||||
Ret = EngGradientFill(psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh, prclExtents,
|
else
|
||||||
pptlDitherOrg, ulMode);
|
{
|
||||||
|
Ret = EngGradientFill(psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh, prclExtents,
|
||||||
|
pptlDitherOrg, ulMode);
|
||||||
|
}
|
||||||
MouseSafetyOnDrawEnd(psoDest);
|
MouseSafetyOnDrawEnd(psoDest);
|
||||||
BITMAPOBJ_UnlockBitmapBits(pboDest);
|
BITMAPOBJ_UnlockBitmapBits(pboDest);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue