From f1bb6592bb45f0d1c9a5b09e0ceee9dcee993bbc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 11 Nov 2008 17:30:11 +0000 Subject: [PATCH] Tweaked comment --- examples/osgmemorytest/osgmemorytest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/osgmemorytest/osgmemorytest.cpp b/examples/osgmemorytest/osgmemorytest.cpp index 7cbf6665c..22e6a532a 100644 --- a/examples/osgmemorytest/osgmemorytest.cpp +++ b/examples/osgmemorytest/osgmemorytest.cpp @@ -417,6 +417,10 @@ int main( int argc, char **argv ) osg::Timer_t startTick = osg::Timer::instance()->tick(); + + // use printf's below as C++'s ostream classes use more memory and are more likely to fail when everything + // goes wrong with memory allocations. + int numContextIterations = 0; int numGLObjectIterations = 0; int numGLObjectsApplied = 0;