Author: jimtabor
Date: Fri Nov 2 05:56:21 2007
New Revision: 30063
URL:
http://svn.reactos.org/svn/reactos?rev=30063&view=rev
Log:
Move GDI_BATCH_LIMIT where it should go.
Modified:
trunk/reactos/dll/win32/gdi32/include/gdi32p.h
trunk/reactos/include/reactos/win32k/ntgdityp.h
trunk/reactos/subsystems/win32/win32k/main/dllmain.c
Modified: trunk/reactos/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/gd…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/gdi32p.h (original)
+++ trunk/reactos/dll/win32/gdi32/include/gdi32p.h Fri Nov 2 05:56:21 2007
@@ -6,7 +6,6 @@
* PROGRAMMER: Alex Ionescu (alex(a)relsoft.net)
*/
-#define GDI_BATCH_LIMIT 20
/* DATA **********************************************************************/
Modified: trunk/reactos/include/reactos/win32k/ntgdityp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntgdityp.h (original)
+++ trunk/reactos/include/reactos/win32k/ntgdityp.h Fri Nov 2 05:56:21 2007
@@ -78,6 +78,7 @@
} GETDCPOINT, *PGETDCPOINT;
#define GDIBATCHBUFSIZE 0x136
+#define GDI_BATCH_LIMIT 20
typedef enum _GDIBATCHCMD
{
Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c Fri Nov 2 05:56:21 2007
@@ -117,7 +117,7 @@
{
/* map the gdi handle table to user land */
Process->Peb->GdiSharedHandleTable = GDI_MapHandleTable(GdiTableSection,
Process);
- Process->Peb->GdiDCAttributeList = 5;
+ Process->Peb->GdiDCAttributeList = GDI_BATCH_LIMIT;
}
/* setup process flags */