mirror of https://github.com/acidanthera/audk.git
Per UEFI spec, SetMode() should clear screen anyway with black color.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8081 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c0aa5e09be
commit
05c7cb5d8e
|
@ -2,7 +2,7 @@
|
|||
|
||||
BiosVideo driver produce EFI_GRAPHIC_OUTPUT_PROTOCOL via LegacyBios Video rom.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation
|
||||
Copyright (c) 2006 - 2009, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -1675,10 +1675,6 @@ BiosVideoGraphicsOutputSetMode (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
if (ModeNumber == This->Mode->Mode) {
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
ModeData = &BiosVideoPrivate->ModeData[ModeNumber];
|
||||
|
||||
if (BiosVideoPrivate->LineBuffer) {
|
||||
|
|
Loading…
Reference in New Issue