summaryrefslogtreecommitdiffstats
path: root/DuetPkg/BiosVideoThunkDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-14 08:40:40 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-14 08:40:40 +0000
commit05c7cb5d8e3346ce1d9d9d0328f6204b61c77b75 (patch)
treec6210e1f1a76abc587dc31be647e65ae307cbe9f /DuetPkg/BiosVideoThunkDxe
parentc0aa5e09bebc4a197256fcd413f636b9594ab5d3 (diff)
downloadedk2-05c7cb5d8e3346ce1d9d9d0328f6204b61c77b75.tar.gz
edk2-05c7cb5d8e3346ce1d9d9d0328f6204b61c77b75.tar.bz2
edk2-05c7cb5d8e3346ce1d9d9d0328f6204b61c77b75.zip
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
Diffstat (limited to 'DuetPkg/BiosVideoThunkDxe')
-rw-r--r--DuetPkg/BiosVideoThunkDxe/BiosVideo.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
index 07a20aeb00..f7b33e9351 100644
--- a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
+++ b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c
@@ -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) {