diff --git a/win32ss/gdi/gdi32/objects/region.c b/win32ss/gdi/gdi32/objects/region.c index ef1e892..4a9172d 100644 --- a/win32ss/gdi/gdi32/objects/region.c +++ b/win32ss/gdi/gdi32/objects/region.c @@ -64,7 +64,7 @@ FASTCALL DeleteRegion( _In_ HRGN hrgn) { -#if 0 +//#if 0 PRGN_ATTR Rgn_Attr = GdiGetRgnAttr(hrgn); if ( Rgn_Attr ) @@ -78,7 +78,7 @@ DeleteRegion( return TRUE; } } -#endif +//#endif return NtGdiDeleteObjectApp(hrgn); } diff --git a/win32ss/user/rtl/text.c b/win32ss/user/rtl/text.c index 7670e2e..dba4c57 100644 --- a/win32ss/user/rtl/text.c +++ b/win32ss/user/rtl/text.c @@ -1374,7 +1374,8 @@ INT WINAPI DrawTextExWorker( HDC hdc, #ifndef _WIN32K_ if (!(flags & DT_NOCLIP) ) { - SelectClipRgn(hdc, hrgn); + SelectClipRgn(hdc, hrgn); // This should be NtGdiExtSelectClipRgn, but due to ReactOS build rules this option is next: + GdiFlush(); // Flush the batch and level up! See CORE-16498. if (hrgn) { DeleteObject(hrgn);