Update the fill brush, in NtGdiFillPath.
[reactos.git] / reactos / subsystems / win32 / win32k / objects / path.c
index 3b6a083..efd511c 100644 (file)
@@ -2298,6 +2298,9 @@ NtGdiFillPath(HDC  hDC)
   if (pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
       DC_vUpdateLineBrush(dc);
 
+  if (pdcattr->ulDirty_ & (DIRTY_FILL | DC_BRUSH_DIRTY))
+      DC_vUpdateFillBrush(dc);
+
   ret = PATH_FillPath( dc, pPath );
   if ( ret )
   {