mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 18:10:54 +00:00
[WIN32K]
- call DC_vPrepareDCsForBlit / DC_vFinishBlit in the right place svn path=/branches/reactos-yarotows/; revision=46932
This commit is contained in:
parent
18f210877b
commit
ce0a7a6e3b
|
@ -435,8 +435,6 @@ NtGdiPolyDraw(
|
||||||
dc = DC_LockDc(hdc);
|
dc = DC_LockDc(hdc);
|
||||||
if (!dc) return FALSE;
|
if (!dc) return FALSE;
|
||||||
pdcattr = dc->pdcattr;
|
pdcattr = dc->pdcattr;
|
||||||
DC_vPrepareDCsForBlit(dc, dc->rosdc.CombinedClip->rclBounds,
|
|
||||||
NULL, dc->rosdc.CombinedClip->rclBounds);
|
|
||||||
|
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
{
|
{
|
||||||
|
@ -503,7 +501,6 @@ NtGdiPolyDraw(
|
||||||
}
|
}
|
||||||
_SEH2_END;
|
_SEH2_END;
|
||||||
|
|
||||||
DC_vFinishBlit(dc, NULL);
|
|
||||||
DC_UnlockDc(dc);
|
DC_UnlockDc(dc);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -2622,7 +2622,12 @@ NtGdiStrokePath(HDC hDC)
|
||||||
if (pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
|
if (pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
|
||||||
DC_vUpdateLineBrush(pDc);
|
DC_vUpdateLineBrush(pDc);
|
||||||
|
|
||||||
|
DC_vPrepareDCsForBlit(pDc, pDc->rosdc.CombinedClip->rclBounds,
|
||||||
|
NULL, pDc->rosdc.CombinedClip->rclBounds);
|
||||||
|
|
||||||
bRet = PATH_StrokePath(pDc, pPath);
|
bRet = PATH_StrokePath(pDc, pPath);
|
||||||
|
|
||||||
|
DC_vFinishBlit(pDc, NULL);
|
||||||
PATH_EmptyPath(pPath);
|
PATH_EmptyPath(pPath);
|
||||||
|
|
||||||
PATH_UnlockPath( pPath );
|
PATH_UnlockPath( pPath );
|
||||||
|
|
Loading…
Reference in a new issue