waver : move core update outside of frame rendering

This commit is contained in:
Georgi Gerganov
2021-06-25 19:11:52 +03:00
parent 2c822a725b
commit dc14155398
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1,5 +1,5 @@
build
build-em
build-*
compile_commands.json
.clangd
.cache

View File

@@ -293,12 +293,12 @@ int main(int argc, char** argv) {
renderMain();
updateMain();
ImGui_EndFrame(window);
#ifdef __EMSCRIPTEN__
updateCore();
#endif
ImGui_EndFrame(window);
return true;
};