Configure number of threads in TimelineController.

This commit is contained in:
Bartosz Taudul
2023-05-01 14:41:51 +02:00
parent a2d470690f
commit 331c2bd7c0
3 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ View::View( void(*cbMainThread)(const std::function<void()>&, bool), const char*
, m_viewMode( ViewMode::LastFrames )
, m_viewModeHeuristicTry( true )
, m_forceConnectionPopup( true, true )
, m_tc( *this, m_worker )
, m_tc( *this, m_worker, config.threadedRendering )
, m_frames( nullptr )
, m_messagesScrollBottom( true )
, m_reactToCrash( true )
@@ -73,7 +73,7 @@ View::View( void(*cbMainThread)(const std::function<void()>&, bool), FileRead& f
, m_filename( f.GetFilename() )
, m_staticView( true )
, m_viewMode( ViewMode::Paused )
, m_tc( *this, m_worker )
, m_tc( *this, m_worker, config.threadedRendering )
, m_frames( m_worker.GetFramesBase() )
, m_messagesScrollBottom( false )
, m_smallFont( smallFont )