We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d6486 commit db1f4c9Copy full SHA for db1f4c9
engine/core/Engine.cpp
@@ -568,6 +568,8 @@ void Engine::systemDraw(){
568
}
569
570
void Engine::systemViewDestroyed(){
571
+ drawSemaphore.acquire();
572
+
573
viewLoaded = false;
574
Engine::onViewDestroyed.call();
575
@@ -580,6 +582,8 @@ void Engine::systemViewDestroyed(){
580
582
581
583
TexturePool::clear();
584
ShaderPool::clear();
585
586
+ drawSemaphore.release();
587
588
589
void Engine::systemShutdown(){
0 commit comments