Removed unneccessary pointer check

This commit is contained in:
Robert Osfield
2016-06-24 15:36:00 +01:00
parent 013857368e
commit 23846f6478

View File

@@ -555,11 +555,9 @@ bool RenderBin::getStats(Statistics& stats) const
stats.addMatrix(); // number of matrices
}
if (dw)
{
// then tot up the primitive types and no vertices.
dw->accept(stats); // use sub-class to find the stats for each drawable
}
// then tot up the primitive types and no vertices.
dw->accept(stats); // use sub-class to find the stats for each drawable
statsCollected = true;
}
stats.addStateGraphs(_stateGraphList.size());