[ros-diffs] [jgardou] 47114: [WIN32K] - Assign a correct pdevmode to the pdevobj when creating it.
jgardou at svn.reactos.org
jgardou at svn.reactos.org
Thu May 6 13:46:48 CEST 2010
Author: jgardou
Date: Thu May 6 13:46:48 2010
New Revision: 47114
URL: http://svn.reactos.org/svn/reactos?rev=47114&view=rev
Log:
[WIN32K]
- Assign a correct pdevmode to the pdevobj when creating it.
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/eng/pdevobj.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/eng/pdevobj.c
URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win32/win32k/eng/pdevobj.c?rev=47114&r1=47113&r2=47114&view=diff
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/eng/pdevobj.c [iso-8859-1] (original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/eng/pdevobj.c [iso-8859-1] Thu May 6 13:46:48 2010
@@ -259,7 +259,8 @@
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;
More information about the Ros-diffs
mailing list