Added int return type of Viewer::run().

This commit is contained in:
Robert Osfield
2007-01-05 13:16:24 +00:00
parent 348fc7bdb3
commit fc07efa656
2 changed files with 5 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ class OSGVIEWER_EXPORT Viewer : public osgViewer::View
* Also calls realize() if the viewer is not already realized,
* and installs trackball manipulator if one is not already assigned.
*/
virtual void run();
virtual int run();
/** Render a complete new frame.
* Calls frameAdvance(), frameEventTraversal(), frameUpateTraversal(), frameRenderingTraversals(). */