[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:
Hermès Bélusca-Maïto 2020-01-10 01:44:09 +01:00
parent 1c2b757a64
commit 5e93daa9ce
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
14 changed files with 54 additions and 76 deletions

View file

@ -63,7 +63,7 @@ DC_vCopyState(PDC pdcSrc, PDC pdcDst, BOOL To)
pdcDst->dclevel.prgnMeta = IntSysCreateRectpRgn(0, 0, 0, 0);
IntGdiCombineRgn(pdcDst->dclevel.prgnMeta, pdcSrc->dclevel.prgnMeta, NULL, RGN_COPY);
}
pdcDst->fs |= DC_FLAG_DIRTY_RAO;
pdcDst->fs |= DC_DIRTY_RAO;
}
}
@ -109,7 +109,7 @@ IntGdiCleanDC(HDC hDC)
REGION_Delete(dc->prgnAPI);
dc->prgnRao = dc->prgnAPI = NULL;
dc->fs |= DC_FLAG_DIRTY_RAO;
dc->fs |= DC_DIRTY_RAO;
DC_UnlockDc(dc);