From b361c6830b5c0f3d0d2aa461505ecf03ea71813d Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Thu, 28 Oct 2021 15:54:05 +0800 Subject: [PATCH] graphics: fix invalidated screen not restoring flag --- graphics/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/graphics/graphics.c b/graphics/graphics.c index de2986e..ecb2db4 100644 --- a/graphics/graphics.c +++ b/graphics/graphics.c @@ -223,6 +223,7 @@ void graphics_SwapBuffer() { r.width, r.height); } } + __invalidated_screen = false; stack_Clear(__invalidated); }