From 05c7cb5d8e3346ce1d9d9d0328f6204b61c77b75 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 14 Apr 2009 08:40:40 +0000 Subject: 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 --- DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'DuetPkg/BiosVideoThunkDxe') 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) { -- cgit v1.2.3