mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +00:00
[WIN32K] Fix detection of multiple display devices on VBox
This commit is contained in:
parent
2210d23fc7
commit
39d8a822d2
1 changed files with 7 additions and 5 deletions
|
@ -92,14 +92,16 @@ EngpUpdateGraphicsDeviceList(VOID)
|
||||||
{
|
{
|
||||||
/* Save this as the VGA adapter */
|
/* Save this as the VGA adapter */
|
||||||
if (!gpVgaGraphicsDevice)
|
if (!gpVgaGraphicsDevice)
|
||||||
|
{
|
||||||
gpVgaGraphicsDevice = pGraphicsDevice;
|
gpVgaGraphicsDevice = pGraphicsDevice;
|
||||||
TRACE("gpVgaGraphicsDevice = %p\n", gpVgaGraphicsDevice);
|
TRACE("gpVgaGraphicsDevice = %p\n", gpVgaGraphicsDevice);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
/* Set the first one as primary device */
|
||||||
|
if (!gpPrimaryGraphicsDevice)
|
||||||
{
|
{
|
||||||
/* Set the first one as primary device */
|
gpPrimaryGraphicsDevice = pGraphicsDevice;
|
||||||
if (!gpPrimaryGraphicsDevice)
|
|
||||||
gpPrimaryGraphicsDevice = pGraphicsDevice;
|
|
||||||
TRACE("gpPrimaryGraphicsDevice = %p\n", gpPrimaryGraphicsDevice);
|
TRACE("gpPrimaryGraphicsDevice = %p\n", gpPrimaryGraphicsDevice);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue