Make sure to stop Drawing on the screen before destorying all shaders and other data

This commit is contained in:
Maschell 2024-03-01 10:00:53 +01:00
parent 209f2c1805
commit 920258c265

View File

@ -65,6 +65,7 @@ WUMS_APPLICATION_STARTS() {
} }
WUMS_APPLICATION_ENDS() { WUMS_APPLICATION_ENDS() {
gDrawReady = false;
if (gOverlayFrame) { if (gOverlayFrame) {
gOverlayFrame->clearElements(); gOverlayFrame->clearElements();
} }