From 0b08c7290e79342c660714217c52673e887de9e7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 17 Feb 2024 09:29:31 +0100 Subject: Instantly redraw the screen on resize --- src/ahoy/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c index 1201700..a24d524 100644 --- a/src/ahoy/gui.c +++ b/src/ahoy/gui.c @@ -134,7 +134,7 @@ readevnt(void) case SDL_WINDOWEVENT: /* For some reason checking for SDL_WINDOWEVENT_RESIZE and friends doesn’t work, so just catch all window events */ - c8.needs_redraw = true; + windrw(); break; case SDL_KEYDOWN: -- cgit v1.2.3