From f1df3846e4184451003e8d180fb1eb6bedb297ef Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Fri, 5 Nov 2021 14:46:18 +0800 Subject: [PATCH] main: invalidate screen on welcome message --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index fc5c2ba..6fe64e0 100644 --- a/main.c +++ b/main.c @@ -53,6 +53,8 @@ FASTCALL_ABI EFI_STATUS efiMain(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *System unifont_DrawString(0, 20, &HelosGraphics_Color_White, helloString, sizeof(helloString) / sizeof(uint32_t)); graphics_CursorX = 0; graphics_CursorY = 52; + graphics_Invalidate(0, 0, graphics_SystemVideoMode.Width, 52); + graphics_SwapBuffer(); runtime_InitPaging();