https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9d004137549ec742a5d9e…
commit 9d004137549ec742a5d9e6e893b84141c8e9408b
Author: James Tabor <james.tabor(a)reactos.org>
AuthorDate: Wed May 1 23:24:53 2019 -0500
Commit: James Tabor <james.tabor(a)reactos.org>
CommitDate: Wed May 1 23:24:53 2019 -0500
[GDI32] Add batch flag for Text Out
Set batch flag for Text Out with font and attributes change sets.
---
win32ss/gdi/gdi32/objects/text.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/gdi/gdi32/objects/text.c b/win32ss/gdi/gdi32/objects/text.c
index ab86a51f11..6d4936edfc 100644
--- a/win32ss/gdi/gdi32/objects/text.c
+++ b/win32ss/gdi/gdi32/objects/text.c
@@ -568,6 +568,7 @@ ExtTextOutW(
if ((pTeb->GdiTebBatch.Offset + cjSize ) <= GDIBATCHBUFSIZE)
{
+ pdcattr->ulDirty_ |= DC_MODE_DIRTY|DC_FONTTEXT_DIRTY;
pgO->cbCount = cwc;
pgO->x = x;
pgO->y = y;