mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[WIN32K]
Use GDIOBJ_vSetObjectOwner instead of GreSetObjectOwner on an exclusively locked object. svn path=/trunk/; revision=56459
This commit is contained in:
parent
c99f588f86
commit
2ba64e0951
1 changed files with 2 additions and 2 deletions
|
@ -257,7 +257,7 @@ NtGdiSaveDC(
|
|||
|
||||
/* Make it a kernel handle
|
||||
(FIXME: Windows handles this differently, see Wiki) */
|
||||
GreSetObjectOwner(hdcSave, GDI_OBJ_HMGR_PUBLIC);
|
||||
GDIOBJ_vSetObjectOwner(&pdcSave->BaseObject, GDI_OBJ_HMGR_PUBLIC);
|
||||
|
||||
/* Copy the current state */
|
||||
DC_vCopyState(pdc, pdcSave, TRUE);
|
||||
|
@ -266,7 +266,7 @@ NtGdiSaveDC(
|
|||
if (pdc->dctype == DCTYPE_MEMORY)
|
||||
DC_vSelectSurface(pdcSave, pdc->dclevel.pSurface);
|
||||
|
||||
/* Copy path */
|
||||
/* Copy path */
|
||||
/* FIXME: Why this way? */
|
||||
pdcSave->dclevel.hPath = pdc->dclevel.hPath;
|
||||
pdcSave->dclevel.flPath = pdc->dclevel.flPath | DCPATH_SAVESTATE;
|
||||
|
|
Loading…
Reference in a new issue