mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[VIDEOPRT] Do not attach secondary devices to the device stack
This fixes display on the primary screen.
This commit is contained in:
parent
e9b5b22a8c
commit
49c16e661a
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ IntVideoPortCreateAdapterDeviceObject(
|
|||
KeInitializeMutex(&DeviceExtension->DeviceLock, 0);
|
||||
|
||||
/* Attach the device. */
|
||||
if (PhysicalDeviceObject != NULL)
|
||||
if ((PhysicalDeviceObject != NULL) && (DisplayNumber == 0))
|
||||
DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(
|
||||
*DeviceObject,
|
||||
PhysicalDeviceObject);
|
||||
|
|
Loading…
Reference in a new issue