[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 d3feae5139
commit 6904b3f5ac

View file

@ -168,22 +168,6 @@ InitVideo(VOID)
if (!NT_SUCCESS(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();
return STATUS_SUCCESS;