Author: jimtabor
Date: Mon Nov 3 00:52:42 2008
New Revision: 37160
URL:
http://svn.reactos.org/svn/reactos?rev=37160&view=rev
Log:
- Remove locking in gdi batch.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c [iso-8859-1] Mon Nov 3
00:52:42 2008
@@ -64,7 +64,7 @@
GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
{
PDC_ATTR Dc_Attr = NULL;
- UserEnterExclusive();
+
if (dc)
{
Dc_Attr = dc->pDc_Attr;
@@ -109,7 +109,7 @@
default:
break;
}
- UserLeave();
+
return pHdr->Size; // Return the full size of the structure.
}