mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:35:41 +00:00
[Win32SS] Fix Opaque Text Fade while in Desktop Startup
See CORE-16498.
This commit is contained in:
parent
1793dcc864
commit
5214a38fd0
3 changed files with 2 additions and 6 deletions
|
@ -64,7 +64,6 @@ FASTCALL
|
||||||
DeleteRegion(
|
DeleteRegion(
|
||||||
_In_ HRGN hrgn)
|
_In_ HRGN hrgn)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
PRGN_ATTR Rgn_Attr = GdiGetRgnAttr(hrgn);
|
PRGN_ATTR Rgn_Attr = GdiGetRgnAttr(hrgn);
|
||||||
|
|
||||||
if ( Rgn_Attr )
|
if ( Rgn_Attr )
|
||||||
|
@ -78,7 +77,6 @@ DeleteRegion(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return NtGdiDeleteObjectApp(hrgn);
|
return NtGdiDeleteObjectApp(hrgn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -949,9 +949,6 @@ BOOL
|
||||||
APIENTRY
|
APIENTRY
|
||||||
NtGdiDeleteObjectApp(HANDLE hobj)
|
NtGdiDeleteObjectApp(HANDLE hobj)
|
||||||
{
|
{
|
||||||
/* Complete all pending operations */
|
|
||||||
//NtGdiFlushUserBatch(); // FIXME: We shouldn't need this
|
|
||||||
|
|
||||||
if (GDI_HANDLE_IS_STOCKOBJ(hobj)) return TRUE;
|
if (GDI_HANDLE_IS_STOCKOBJ(hobj)) return TRUE;
|
||||||
|
|
||||||
if (GreGetObjectOwner(hobj) != GDI_OBJ_HMGR_POWNED)
|
if (GreGetObjectOwner(hobj) != GDI_OBJ_HMGR_POWNED)
|
||||||
|
|
|
@ -1374,7 +1374,8 @@ INT WINAPI DrawTextExWorker( HDC hdc,
|
||||||
#ifndef _WIN32K_
|
#ifndef _WIN32K_
|
||||||
if (!(flags & DT_NOCLIP) )
|
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)
|
if (hrgn)
|
||||||
{
|
{
|
||||||
DeleteObject(hrgn);
|
DeleteObject(hrgn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue