mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[WIN32SS] Use the DCFLAGS and DCTYPE flags defined in ntgdi/dc.h instead of the old ones in include/ntgdihdl.h
The names of these new flags match the documented ones at https://reactos.org/wiki/Techwiki:Win32k/DC https://books.google.hr/books?id=-O92IIF1Bj4C&pg=PA197&lpg=PA197 and the gdikdx debug extension.
This commit is contained in:
parent
1c2b757a64
commit
5e93daa9ce
14 changed files with 54 additions and 76 deletions
|
@ -361,7 +361,7 @@ NtGdiSelectBitmap(
|
|||
}
|
||||
|
||||
/* Must be a memory dc to select a bitmap */
|
||||
if (pdc->dctype != DC_TYPE_MEMORY)
|
||||
if (pdc->dctype != DCTYPE_MEMORY)
|
||||
{
|
||||
DC_UnlockDc(pdc);
|
||||
return NULL;
|
||||
|
@ -462,7 +462,7 @@ NtGdiSelectBitmap(
|
|||
|
||||
/* Mark the DC brushes and the RAO region invalid */
|
||||
pdc->pdcattr->ulDirty_ |= DIRTY_FILL | DIRTY_LINE;
|
||||
pdc->fs |= DC_FLAG_DIRTY_RAO;
|
||||
pdc->fs |= DC_DIRTY_RAO;
|
||||
|
||||
/* Update the system region */
|
||||
REGION_SetRectRgn(pdc->prgnVis,
|
||||
|
@ -733,7 +733,7 @@ NtGdiGetRandomRgn(
|
|||
break;
|
||||
|
||||
case APIRGN:
|
||||
if (pdc->fs & DC_FLAG_DIRTY_RAO)
|
||||
if (pdc->fs & DC_DIRTY_RAO)
|
||||
CLIPPING_UpdateGCRegion(pdc);
|
||||
if (pdc->prgnAPI)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue