fix MSVC warning C4250: inherits 'X' via dominance (94x)

This commit is contained in:
Laurens Voerman 2019-01-17 16:22:51 +01:00 committed by Robert Osfield
parent cb90d269e4
commit 664d597e20

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: