From d0d48b0e5aacc72ad8474bee4f4d9b3b9efe4df5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 8 Aug 2006 10:41:51 +0000 Subject: [PATCH] Fixed the positioning of the graphical stats bars so that they don't overlap the stats text --- src/osgProducer/ViewerEventHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgProducer/ViewerEventHandler.cpp b/src/osgProducer/ViewerEventHandler.cpp index eacbf9a04..482ba6763 100644 --- a/src/osgProducer/ViewerEventHandler.cpp +++ b/src/osgProducer/ViewerEventHandler.cpp @@ -421,7 +421,8 @@ void ViewerEventHandler::StatsAndHelpDrawCallback::displayStats() glMatrixMode( GL_PROJECTION ); glPushMatrix(); glLoadIdentity(); - glOrtho( -.03, .128, 600.0, -20.0, -1.0, 1.0 ); +// glOrtho( -.03, .128, 600.0, -20.0, -1.0, 1.0 ); + glOrtho( -0.04, .128, 600.0, -20.0, -1.0, 1.0 ); unsigned int lindex = (_index + 1) % _fs.size();