From e227af2790d33db508074968a174d9ab448a09b4 Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Tue, 14 Apr 2009 08:40:40 +0000 Subject: [PATCH] Per UEFI spec, SetMode() should clear screen anyway with black color. --- DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c index 07a20aeb0..f7b33e935 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) { -- 2.11.4.GIT