fix MSVC warning C4250: inherits 'X' via dominance (94x)
This commit is contained in:
parent
cb90d269e4
commit
664d597e20
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user