mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Ntoskrnl:
- Plugged in batching. - Thanks to Thomas for helping me again! 8^) svn path=/trunk/; revision=30196
This commit is contained in:
parent
c41f093eb9
commit
340ac0278b
2 changed files with 4 additions and 7 deletions
|
@ -192,8 +192,7 @@ ReadBatch:
|
|||
/* Flush it */
|
||||
push edx
|
||||
push eax
|
||||
// <-- Remove these once it is working!
|
||||
// call [_KeGdiFlushUserBatch]
|
||||
call [_KeGdiFlushUserBatch]
|
||||
pop eax
|
||||
pop edx
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch();
|
||||
extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
|
@ -217,10 +217,8 @@ KeUserModeCallback(IN ULONG RoutineIndex,
|
|||
/* Check if we have GDI Batch operations */
|
||||
if (GdiBatchCount)
|
||||
{
|
||||
/* Shouldn't happen in ROS yet */
|
||||
ASSERT(FALSE);
|
||||
// *UserEsp -= 256;
|
||||
// KeGdiFlushUserBatch();
|
||||
*UserEsp -= 256;
|
||||
KeGdiFlushUserBatch();
|
||||
}
|
||||
|
||||
/* Restore stack and return */
|
||||
|
|
Loading…
Reference in a new issue