Updates to windows build docs.

Merge fixes for OSX from bob.

Added checking for impostor sprites into stats.
This commit is contained in:
Robert Osfield
2002-08-30 16:17:41 +00:00
parent cf9e9e2b5b
commit a68d95d2f6
3 changed files with 45 additions and 15 deletions

View File

@@ -2,6 +2,7 @@
#include <osgUtil/RenderStage>
#include <osg/Statistics>
#include <osg/ImpostorSprite>
#include <algorithm>
@@ -274,6 +275,7 @@ bool RenderBin::getStats(osg::Statistics* primStats)
{
// then tot up the primtive types and no vertices.
dw->accept(*primStats); // use sub-class to find the stats for each drawable
if (typeid(*dw)==typeid(osg::ImpostorSprite)) primStats->addImpostor(1);
}
}
somestats=true;