mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[WIN32SS] Introduce the MDEVOBJ structure
This will be used (later) to store the list of all enabled display devices. Add a global variable gpmdev (should really be stored in DISPLAYINFO structure) Replace global variable gppdevPrimary by pmdev->ppdevGlobal.
This commit is contained in:
parent
0f617ddfbb
commit
a0cfdcd409
15 changed files with 66 additions and 31 deletions
|
@ -144,7 +144,7 @@ DC_vInitDc(
|
|||
pdc->pdcattr = &pdc->dcattr;
|
||||
pdc->dcattr.pvLDC = NULL;
|
||||
pdc->dcattr.ulDirty_ = DIRTY_DEFAULT;
|
||||
if (ppdev == gppdevPrimary)
|
||||
if (ppdev == gpmdev->ppdevGlobal)
|
||||
pdc->dcattr.ulDirty_ |= DC_PRIMARY_DISPLAY;
|
||||
|
||||
/* Setup the DC size */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue