renderer: minor code improvements

This commit is contained in:
itsmattkc
2020-02-03 01:29:03 +11:00
parent 40e8aec285
commit caf0d3d42a
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ bool RenderBackend::Init()
return true;
}
threads_.resize(qMax(1, QThread::idealThreadCount() - 1));
threads_.resize(QThread::idealThreadCount());
for (int i=0;i<threads_.size();i++) {
QThread* thread = new QThread(this);