- Remove locking in gdi batch.

svn path=/trunk/; revision=37160
This commit is contained in:
James Tabor 2008-11-03 06:52:42 +00:00
parent 53586450b4
commit cc68aa2bcc

View file

@ -64,7 +64,7 @@ FASTCALL
GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
{
PDC_ATTR Dc_Attr = NULL;
UserEnterExclusive();
if (dc)
{
Dc_Attr = dc->pDc_Attr;
@ -109,7 +109,7 @@ GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
default:
break;
}
UserLeave();
return pHdr->Size; // Return the full size of the structure.
}