mirror of https://github.com/axmolengine/axmol.git
Sets default render state when restart director
This commit is contained in:
parent
bc4dccff9b
commit
81c063c427
|
@ -1059,6 +1059,8 @@ void Director::restartDirector()
|
||||||
ScriptEvent scriptEvent(kRestartGame, nullptr);
|
ScriptEvent scriptEvent(kRestartGame, nullptr);
|
||||||
ScriptEngineManager::sendEventToLua(scriptEvent);
|
ScriptEngineManager::sendEventToLua(scriptEvent);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
setGLDefaultValues();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Director::setNextScene()
|
void Director::setNextScene()
|
||||||
|
|
Loading…
Reference in New Issue