mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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);
|
||||
|
|
Loading…
Reference in a new issue