mirror of https://github.com/acidanthera/audk.git
Fixed the bug when set mode value is less than the Max mode value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4397 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
aaf5cf8e1d
commit
a182eb4624
|
@ -289,11 +289,6 @@ Routine Description:
|
||||||
return EFI_OUT_OF_RESOURCES;
|
return EFI_OUT_OF_RESOURCES;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Private->HardwareNeedsStarting) {
|
|
||||||
if (Private->ConsoleOutputMode != EfiConsoleControlScreenGraphics) {
|
|
||||||
return EFI_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//
|
//
|
||||||
// return the worst status met
|
// return the worst status met
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue