mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[Win32SS] Fix Opaque Text Fade while in Desktop Startup
See CORE-16498.
This commit is contained in:
@@ -64,7 +64,6 @@ FASTCALL
|
||||
DeleteRegion(
|
||||
_In_ HRGN hrgn)
|
||||
{
|
||||
#if 0
|
||||
PRGN_ATTR Rgn_Attr = GdiGetRgnAttr(hrgn);
|
||||
|
||||
if ( Rgn_Attr )
|
||||
@@ -78,7 +77,6 @@ DeleteRegion(
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return NtGdiDeleteObjectApp(hrgn);
|
||||
}
|
||||
|
||||
|
||||
@@ -949,9 +949,6 @@ BOOL
|
||||
APIENTRY
|
||||
NtGdiDeleteObjectApp(HANDLE hobj)
|
||||
{
|
||||
/* Complete all pending operations */
|
||||
//NtGdiFlushUserBatch(); // FIXME: We shouldn't need this
|
||||
|
||||
if (GDI_HANDLE_IS_STOCKOBJ(hobj)) return TRUE;
|
||||
|
||||
if (GreGetObjectOwner(hobj) != GDI_OBJ_HMGR_POWNED)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user