From 9c81da0f9c92d1a38949e31094902d7614ed6a32 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 31 Dec 2014 17:10:59 +0000 Subject: [PATCH] [WIN32K] Use the correct flags member in the DC to mark the RAO region dirty. svn path=/trunk/; revision=65921 --- reactos/win32ss/gdi/ntgdi/dcobjs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/win32ss/gdi/ntgdi/dcobjs.c b/reactos/win32ss/gdi/ntgdi/dcobjs.c index f669769dc53..cb522a55baa 100644 --- a/reactos/win32ss/gdi/ntgdi/dcobjs.c +++ b/reactos/win32ss/gdi/ntgdi/dcobjs.c @@ -470,8 +470,9 @@ NtGdiSelectBitmap( SURFACE_ShareUnlockSurface(psurfOld); } - /* Mark the DC brushes invalid */ - pdc->pdcattr->ulDirty_ |= DIRTY_FILL | DIRTY_LINE | DC_FLAG_DIRTY_RAO; + /* Mark the DC brushes and the RAO region invalid */ + pdc->pdcattr->ulDirty_ |= DIRTY_FILL | DIRTY_LINE; + pdc->fs |= DC_FLAG_DIRTY_RAO; /* Update the system region */ REGION_SetRectRgn(pdc->prgnVis,