[WIN32SS:USER] Remove assignation of gpPrimaryGraphicsDevice (already done in EngpUpdateGraphicsDeviceList)

This commit is contained in:
Hervé Poussineau 2023-04-17 07:55:07 +02:00
parent 770adbc8a3
commit 0d8e26588a

View file

@ -168,22 +168,6 @@ InitVideo(VOID)
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
return Status; return Status;
/* Check if we had any success */
if (!gpPrimaryGraphicsDevice)
{
/* Check if there is a VGA device we skipped */
if (gpVgaGraphicsDevice)
{
/* There is, use the VGA device */
gpPrimaryGraphicsDevice = gpVgaGraphicsDevice;
}
else
{
ERR("No usable display driver was found.\n");
return STATUS_UNSUCCESSFUL;
}
}
InitSysParams(); InitSysParams();
return STATUS_SUCCESS; return STATUS_SUCCESS;