mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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
2 changed files with 5 additions and 3 deletions
|
@ -435,8 +435,6 @@ NtGdiPolyDraw(
|
|||
dc = DC_LockDc(hdc);
|
||||
if (!dc) return FALSE;
|
||||
pdcattr = dc->pdcattr;
|
||||
DC_vPrepareDCsForBlit(dc, dc->rosdc.CombinedClip->rclBounds,
|
||||
NULL, dc->rosdc.CombinedClip->rclBounds);
|
||||
|
||||
_SEH2_TRY
|
||||
{
|
||||
|
@ -503,7 +501,6 @@ NtGdiPolyDraw(
|
|||
}
|
||||
_SEH2_END;
|
||||
|
||||
DC_vFinishBlit(dc, NULL);
|
||||
DC_UnlockDc(dc);
|
||||
|
||||
return result;
|
||||
|
|
|
@ -2622,7 +2622,12 @@ NtGdiStrokePath(HDC hDC)
|
|||
if (pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
|
||||
DC_vUpdateLineBrush(pDc);
|
||||
|
||||
DC_vPrepareDCsForBlit(pDc, pDc->rosdc.CombinedClip->rclBounds,
|
||||
NULL, pDc->rosdc.CombinedClip->rclBounds);
|
||||
|
||||
bRet = PATH_StrokePath(pDc, pPath);
|
||||
|
||||
DC_vFinishBlit(pDc, NULL);
|
||||
PATH_EmptyPath(pPath);
|
||||
|
||||
PATH_UnlockPath( pPath );
|
||||
|
|
Loading…
Reference in a new issue