]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Per UEFI spec, SetMode() should clear screen anyway with black color.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Apr 2009 08:40:40 +0000 (08:40 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Apr 2009 08:40:40 +0000 (08:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8081 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/BiosVideoThunkDxe/BiosVideo.c

index 07a20aeb000614fa5fb22ef6c1143eb30c031015..f7b33e9351fbc9cacf2f5ea0d5e274909c54cf98 100644 (file)
@@ -2,7 +2,7 @@
 \r
   BiosVideo driver produce EFI_GRAPHIC_OUTPUT_PROTOCOL via LegacyBios Video rom.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -1675,10 +1675,6 @@ BiosVideoGraphicsOutputSetMode (
     return EFI_UNSUPPORTED;\r
   }\r
 \r
-  if (ModeNumber == This->Mode->Mode) {\r
-    return EFI_SUCCESS;\r
-  }\r
-\r
   ModeData = &BiosVideoPrivate->ModeData[ModeNumber];\r
 \r
   if (BiosVideoPrivate->LineBuffer) {\r