renderer: allow parameters to be changed mid-session

This commit is contained in:
itsmattkc
2020-01-22 14:05:37 +11:00
parent 8932a5abeb
commit fdbaa75dff
15 changed files with 118 additions and 32 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ bool RenderBackend::Init()
return true;
}
threads_.resize(qMax(1, QThread::idealThreadCount() / 2));
threads_.resize(qMax(1, QThread::idealThreadCount() - 1));
for (int i=0;i<threads_.size();i++) {
QThread* thread = new QThread(this);