Merge pull request #693 from LaurensVoerman/glObj_C4250

fix MSVC warning C4250: inherits 'X' via dominance (94x)
This commit is contained in:
OpenSceneGraph git repository
2019-01-17 17:24:22 +00:00
committed by GitHub

View File

@@ -114,8 +114,8 @@ class OSGVIEWER_EXPORT Viewer : public ViewerBase, public osgViewer::View
virtual void getUsage(osg::ApplicationUsage& usage) const;
// ensure that osg::View provides the reiszerGLObjects and releaseGLObjects methods
using osg::View::resizeGLObjectBuffers;
using osg::View::releaseGLObjects;
virtual void resizeGLObjectBuffers(unsigned int maxSize) { osg::View::resizeGLObjectBuffers(maxSize); }
virtual void releaseGLObjects(osg::State* state = 0) const { osg::View::releaseGLObjects(state); }
protected: