mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-16 15:35:58 +08:00
waver : move core update outside of frame rendering
This commit is contained in:
@@ -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