From a684450196d4750d65787e85fac261c478f314d3 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 1 Mar 2024 10:00:53 +0100 Subject: [PATCH] Make sure to stop Drawing on the screen before destorying all shaders and other data --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 1bccbb8..7a5b9e3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,6 +65,7 @@ WUMS_APPLICATION_STARTS() { } WUMS_APPLICATION_ENDS() { + gDrawReady = false; if (gOverlayFrame) { gOverlayFrame->clearElements(); }