[WIN32K] Fix detection of multiple display devices on VBox

This commit is contained in:
Timo Kreuzer 2021-07-13 08:29:11 +02:00
parent 2210d23fc7
commit 39d8a822d2

View file

@ -92,13 +92,15 @@ EngpUpdateGraphicsDeviceList(VOID)
{
/* Save this as the VGA adapter */
if (!gpVgaGraphicsDevice)
{
gpVgaGraphicsDevice = pGraphicsDevice;
TRACE("gpVgaGraphicsDevice = %p\n", gpVgaGraphicsDevice);
}
else
{
}
/* Set the first one as primary device */
if (!gpPrimaryGraphicsDevice)
{
gpPrimaryGraphicsDevice = pGraphicsDevice;
TRACE("gpPrimaryGraphicsDevice = %p\n", gpPrimaryGraphicsDevice);
}