Author: tkreuzer
Date: Mon Jun 16 13:56:52 2008
New Revision: 33996
URL:
http://svn.reactos.org/svn/reactos?rev=33996&view=rev
Log:
IntEngGradientFill: fix cleanup when calling the driver
Modified:
trunk/reactos/subsystems/win32/win32k/eng/gradient.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/gradient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/gradient.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/gradient.c [iso-8859-1] Mon Jun 16 13:56:52
2008
@@ -571,11 +571,12 @@
Ret = GDIDEVFUNCS(psoDest).GradientFill(
psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh,
prclExtents, pptlDitherOrg, ulMode);
- MouseSafetyOnDrawEnd(psoDest);
- return Ret;
- }
- Ret = EngGradientFill(psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh, prclExtents,
- pptlDitherOrg, ulMode);
+ }
+ else
+ {
+ Ret = EngGradientFill(psoDest, pco, pxlo, pVertex, nVertex, pMesh, nMesh,
prclExtents,
+ pptlDitherOrg, ulMode);
+ }
MouseSafetyOnDrawEnd(psoDest);
BITMAPOBJ_UnlockBitmapBits(pboDest);