I disabled all the lines inside the if (layer == -1) block in ModuleWidget::drawLayer().
The performance improvement takes place on GPU, not on CPU.
I disabled all the lines inside the if (layer == -1) block in ModuleWidget::drawLayer().
The performance improvement takes place on GPU, not on CPU.