You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
I updated some of my projects to Irrlicht 1.3 and suddenly driver->getPrimitiveCountDrawn() stops working howe it did. It keeps returning for ever increasing number as far as there is some geometry on screen.
I guess everybody. I mentioned this problem on the Dev's Todo list, but no one changed it. It seems that Thomas likes this increasing number as he repeatedly reverted my fixes. I don't know what purpose these numbers have.
Also it's no longer doing what it should do according to the documentation. I would appreciate it very much if someone would fix it again. The number of primitives is an important numbers for artists while this running numer is well... maybe somewhat nice, but completly useless :)
Ok, fixed in revision 572. It was merely a wrong default value, but I also cleaned the FPSCounter interface. You can still get the total frame count and also an averaged frame count (in case you have rapidly changing values) via the undocumented getPrimitiveCountDrawn parameter: 0 is default, 1 is averaged, and 2 is total.