[GDI32] Add batch flag for Text Out
authorJames Tabor <james.tabor@reactos.org>
Thu, 2 May 2019 04:24:53 +0000 (23:24 -0500)
committerJames Tabor <james.tabor@reactos.org>
Thu, 2 May 2019 04:24:53 +0000 (23:24 -0500)
Set batch flag for Text Out with font and attributes change sets.

win32ss/gdi/gdi32/objects/text.c

index ab86a51..6d4936e 100644 (file)
@@ -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;