mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K]
- Assign a correct pdevmode to the pdevobj when creating it. svn path=/branches/reactos-yarotows/; revision=47114
This commit is contained in:
@@ -259,7 +259,8 @@ EngpCreatePDEV(
|
||||
|
||||
ppdev->pGraphicsDevice = pGraphicsDevice;
|
||||
ppdev->hsemDevLock = EngCreateSemaphore();
|
||||
ppdev->pdmwDev = pGraphicsDevice->pDevModeList[pGraphicsDevice->iCurrentMode].pdm;
|
||||
// Should we change the ative mode of pGraphicsDevice ?
|
||||
ppdev->pdmwDev = PDEVOBJ_pdmMatchDevMode(ppdev, pdm) ;
|
||||
|
||||
/* FIXME! */
|
||||
ppdev->flFlags = PDEV_DISPLAY;
|
||||
|
||||
Reference in New Issue
Block a user