MdeModulePkg/GraphicsConsole: don't draw cursor at 0,0

Prevents cursor from flashing on screen when
changing modes or clearing the screen.

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Matt DeVillier
2017-07-07 20:35:11 -05:00
committed by Tim Crawford
parent 003534f8f0
commit e167ed1a3d

View File

@ -1892,7 +1892,8 @@ FlushCursor (
CurrentMode = This->Mode;
if (!CurrentMode->CursorVisible) {
if (!CurrentMode->CursorVisible ||
(CurrentMode->CursorColumn == 0 && CurrentMode->CursorRow == 0 )) {
return EFI_SUCCESS;
}