Skip to content

Commit

Permalink
Removed unneccessary pointer check
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Jun 24, 2016
1 parent 0138573 commit 23846f6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/osgUtil/RenderBin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 23846f6

Please sign in to comment.