mirror of
https://github.com/reactos/reactos.git
synced 2025-05-13 22:30:21 +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);
|
KeInitializeMutex(&DeviceExtension->DeviceLock, 0);
|
||||||
|
|
||||||
/* Attach the device. */
|
/* Attach the device. */
|
||||||
if (PhysicalDeviceObject != NULL)
|
if ((PhysicalDeviceObject != NULL) && (DisplayNumber == 0))
|
||||||
DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(
|
DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(
|
||||||
*DeviceObject,
|
*DeviceObject,
|
||||||
PhysicalDeviceObject);
|
PhysicalDeviceObject);
|
||||||
|
|
Loading…
Reference in a new issue