Made getViewport(...) const.

This commit is contained in:
Robert Osfield 2004-02-10 12:36:17 +00:00
parent 05c2e8bd19
commit 5fa64ba416

View File

@ -82,7 +82,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
osg::Viewport* getViewport() { return _viewport.get(); }
/** Get the viewport of the scene view. */
void getViewport(int& x,int& y,int& width,int& height)
void getViewport(int& x,int& y,int& width,int& height) const
{
_viewport->getViewport(x,y,width,height);
}