mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[Win32k]
- Kill debug warnings of dc ownership. svn path=/trunk/; revision=46485
This commit is contained in:
parent
3ae7b85b5a
commit
474bc78d7d
1 changed files with 5 additions and 0 deletions
|
@ -643,6 +643,11 @@ DceFreeDCE(PDCE pdce, BOOLEAN Force)
|
|||
Hit = TRUE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!GreGetObjectOwner(pdce->hDC, GDIObjType_DC_TYPE))
|
||||
DC_SetOwnership( pdce->hDC, PsGetCurrentProcess());
|
||||
}
|
||||
|
||||
if (!Hit) IntGdiDeleteDC(pdce->hDC, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue