mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
Flush the gdi batch in NtGdiDeletObjectApp to make sure we don't try to do stuff with deleted objects later. This fixes some problems with Firefox.
svn path=/trunk/; revision=38501
This commit is contained in:
parent
fbd7f8a2aa
commit
9c19a9af87
1 changed files with 2 additions and 0 deletions
|
@ -1090,6 +1090,8 @@ BOOL
|
||||||
APIENTRY
|
APIENTRY
|
||||||
NtGdiDeleteObjectApp(HANDLE DCHandle)
|
NtGdiDeleteObjectApp(HANDLE DCHandle)
|
||||||
{
|
{
|
||||||
|
/* Complete all pending operations */
|
||||||
|
NtGdiFlushUserBatch();
|
||||||
|
|
||||||
if (GDI_HANDLE_IS_STOCKOBJ(DCHandle)) return TRUE;
|
if (GDI_HANDLE_IS_STOCKOBJ(DCHandle)) return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue