Made getViewport(...) const.
This commit is contained in:
parent
05c2e8bd19
commit
5fa64ba416
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user