mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
[WIN32SS:USER] Remove assignation of gpPrimaryGraphicsDevice (already done in EngpUpdateGraphicsDeviceList)
This commit is contained in:
parent
770adbc8a3
commit
0d8e26588a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue