render and server locale parity fixes
This commit is contained in:
@@ -3360,8 +3360,10 @@ int run_live_client(
|
||||
unsigned ui_w = renderer.width(), ui_h = renderer.height();
|
||||
UIRenderGetSize(&ui_w, &ui_h);
|
||||
renderer.render(Render3DDraws(), empty_textures, ui_w, ui_h, UIRenderCommands());
|
||||
frame_ms.push_back(std::chrono::duration<double, std::milli>(
|
||||
std::chrono::steady_clock::now() - frame_start).count());
|
||||
const double elapsed_ms = std::chrono::duration<double, std::milli>(
|
||||
std::chrono::steady_clock::now() - frame_start).count();
|
||||
PythonBoot::SetNativeRenderFrameTime(static_cast<float>(elapsed_ms));
|
||||
frame_ms.push_back(elapsed_ms);
|
||||
++completed;
|
||||
}
|
||||
renderer.finish_gpu_timings();
|
||||
|
||||
Reference in New Issue
Block a user