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);
|
||||
ScriptEngineManager::sendEventToLua(scriptEvent);
|
||||
#endif
|
||||
|
||||
setGLDefaultValues();
|
||||
}
|
||||
|
||||
void Director::setNextScene()
|
||||
|
|
Loading…
Reference in New Issue