mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +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_view( view )
|
||||||
, m_worker( worker )
|
, m_worker( worker )
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
, m_td( 0 )
|
, m_td( 0, "Render" )
|
||||||
#else
|
#else
|
||||||
, m_td( threading ? (size_t)std::max( 0, (int)std::thread::hardware_concurrency() - 2 ) : 0, "Render" )
|
, m_td( threading ? (size_t)std::max( 0, (int)std::thread::hardware_concurrency() - 2 ) : 0, "Render" )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user