Skip to content

Commit 0d8e265

Browse files
committed
[WIN32SS:USER] Remove assignation of gpPrimaryGraphicsDevice (already done in EngpUpdateGraphicsDeviceList)
1 parent 770adbc commit 0d8e265

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

win32ss/user/ntuser/display.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -168,22 +168,6 @@ InitVideo(VOID)
168168
if (!NT_SUCCESS(Status))
169169
return Status;
170170

171-
/* Check if we had any success */
172-
if (!gpPrimaryGraphicsDevice)
173-
{
174-
/* Check if there is a VGA device we skipped */
175-
if (gpVgaGraphicsDevice)
176-
{
177-
/* There is, use the VGA device */
178-
gpPrimaryGraphicsDevice = gpVgaGraphicsDevice;
179-
}
180-
else
181-
{
182-
ERR("No usable display driver was found.\n");
183-
return STATUS_UNSUCCESSFUL;
184-
}
185-
}
186-
187171
InitSysParams();
188172

189173
return STATUS_SUCCESS;

0 commit comments

Comments
 (0)