[NtGDI] Set Xform flags if a changed
authorjimtabor <james.tabor@reactos.org>
Thu, 2 May 2019 16:56:55 +0000 (11:56 -0500)
committerjimtabor <james.tabor@reactos.org>
Thu, 2 May 2019 16:56:55 +0000 (11:56 -0500)
Missed more flags changes.

win32ss/gdi/ntgdi/gdibatch.c

index b9f7b2d..cccc706 100644 (file)
@@ -350,6 +350,7 @@ GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
            dc->pdcattr->ulDirty_ &= ~SLOW_WIDTHS;
         }
         dc->pdcattr->ulDirty_ |= saveflags | flags;
+        dc->pdcattr->flXform  |= saveflXform | flXform;
         break;
      }
 
@@ -408,6 +409,7 @@ GdiFlushUserBatch(PDC dc, PGDIBATCHHDR pHdr)
             dc->pdcattr->ulBackgroundClr = ulBackgroundClr;
         }
         dc->pdcattr->ulDirty_ |= saveflags | flags;
+        dc->pdcattr->flXform  |= saveflXform | flXform;
         break;
      }
 
@@ -523,5 +525,3 @@ NtGdiFlushUserBatch(VOID)
   // FIXME: On Windows XP the function returns &pTeb->RealClientId, maybe VOID?
   return STATUS_SUCCESS;
 }
-
-