Tweak some values to help with sound choppiness in Chrome slightly, until we port to OpenAL

This commit is contained in:
elasota
2021-03-30 05:23:44 -04:00
parent 7916c72fc4
commit 3692a966bf
2 changed files with 2 additions and 2 deletions

View File

@@ -3095,7 +3095,7 @@ bool GpDisplayDriver_SDL_GL2::SyncRender()
SDL_GL_SwapWindow(m_window);
#ifdef __EMSCRIPTEN__
emscripten_sleep(16);
emscripten_sleep(1);
#endif
std::chrono::time_point<std::chrono::high_resolution_clock>::duration syncTime = std::chrono::high_resolution_clock::now().time_since_epoch();