mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix TaskDispatch on wasm.
This commit is contained in:
parent
64daca9f79
commit
b072dbcdc6
@ -18,7 +18,7 @@ TimelineController::TimelineController( View& view, Worker& worker, bool threadi
|
||||
, m_view( view )
|
||||
, m_worker( worker )
|
||||
#ifdef __EMSCRIPTEN__
|
||||
, m_td( 0 )
|
||||
, m_td( 0, "Render" )
|
||||
#else
|
||||
, m_td( threading ? (size_t)std::max( 0, (int)std::thread::hardware_concurrency() - 2 ) : 0, "Render" )
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user