Make sure to stop Drawing on the screen before destorying all shaders and other data
This commit is contained in:
parent
cefbff93a9
commit
a684450196
|
@ -65,6 +65,7 @@ WUMS_APPLICATION_STARTS() {
|
||||||
}
|
}
|
||||||
|
|
||||||
WUMS_APPLICATION_ENDS() {
|
WUMS_APPLICATION_ENDS() {
|
||||||
|
gDrawReady = false;
|
||||||
if (gOverlayFrame) {
|
if (gOverlayFrame) {
|
||||||
gOverlayFrame->clearElements();
|
gOverlayFrame->clearElements();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue