mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-10 02:35:57 +08:00
waver : move core update outside of frame rendering
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
build
|
||||
build-em
|
||||
build-*
|
||||
compile_commands.json
|
||||
.clangd
|
||||
.cache
|
||||
|
||||
@@ -293,12 +293,12 @@ int main(int argc, char** argv) {
|
||||
renderMain();
|
||||
updateMain();
|
||||
|
||||
ImGui_EndFrame(window);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
updateCore();
|
||||
#endif
|
||||
|
||||
ImGui_EndFrame(window);
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user