mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
do not recalculate background and draw it twice
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
1c69fccb7a
commit
7b173d7f08
@ -5230,6 +5230,7 @@ finish:
|
||||
FreePool (ChosenTheme);
|
||||
}
|
||||
PrepareFont();
|
||||
ThemeX.ClearScreen();
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -350,7 +350,9 @@ VOID SwitchToGraphicsAndClear(VOID) //called from MENU_FUNCTION_INIT
|
||||
SwitchToGraphics();
|
||||
#if USE_XTHEME
|
||||
// DBG("clear screen and draw back\n");
|
||||
ThemeX.ClearScreen();
|
||||
// ThemeX.ClearScreen();
|
||||
// egClearScreen(&MenuBackgroundPixel);
|
||||
ThemeX.Background.DrawWithoutCompose(0,0,0,0);
|
||||
#else
|
||||
if (GraphicsScreenDirty) { //Invented in rEFIt 15 years ago
|
||||
BltClearScreen();
|
||||
|
Loading…
Reference in New Issue
Block a user