mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdi: viewportExt changed after call to StrokePath.
This commit is contained in:
parent
5c6301a5c9
commit
033ca37367
1 changed files with 2 additions and 2 deletions
|
@ -1780,10 +1780,10 @@ static BOOL PATH_StrokePath(DC *dc, GdiPath *pPath)
|
|||
|
||||
/* Restore the old mapping mode */
|
||||
SetMapMode(dc->hSelf, mapMode);
|
||||
SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL);
|
||||
SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL);
|
||||
SetWindowExtEx(dc->hSelf, szWindowExt.cx, szWindowExt.cy, NULL);
|
||||
SetWindowOrgEx(dc->hSelf, ptWindowOrg.x, ptWindowOrg.y, NULL);
|
||||
SetViewportExtEx(dc->hSelf, szViewportExt.cx, szViewportExt.cy, NULL);
|
||||
SetViewportOrgEx(dc->hSelf, ptViewportOrg.x, ptViewportOrg.y, NULL);
|
||||
|
||||
/* Go to GM_ADVANCED temporarily to restore the world transform */
|
||||
graphicsMode=GetGraphicsMode(dc->hSelf);
|
||||
|
|
Loading…
Reference in a new issue