Fixed warnings
This commit is contained in:
parent
45555c895d
commit
40ccf503e4
@ -34,7 +34,7 @@ void DrawArraysIndirect::draw(osg::State& state, bool /*useVertexBufferObjects*/
|
||||
|
||||
}
|
||||
|
||||
void MultiDrawArraysIndirect::draw(osg::State& state, bool useVertexBufferObjects) const
|
||||
void MultiDrawArraysIndirect::draw(osg::State& state, bool /*useVertexBufferObjects*/) const
|
||||
{
|
||||
// DrawIndirectGLExtensions *ext = DrawIndirectGLExtensions::getExtensions( state.getContextID(),true );
|
||||
state.get<osg::GLExtensions>()->glMultiDrawArraysIndirect( _mode, reinterpret_cast<const void*>(_indirect), _drawcount, _stride );
|
||||
|
@ -81,7 +81,7 @@ namespace osgAnimation
|
||||
typedef TemplateKeyframeContainer<typename SamplerType::KeyframeType> KeyframeContainerType;
|
||||
|
||||
Object* cloneType() const { return new TemplateChannel(); }
|
||||
Object* clone(const osg::CopyOp& copyop) const { return new TemplateChannel<SamplerType>(*this); }
|
||||
Object* clone(const osg::CopyOp&) const { return new TemplateChannel<SamplerType>(*this); }
|
||||
Channel* clone() const { return new TemplateChannel<SamplerType>(*this); }
|
||||
|
||||
TemplateChannel (const TemplateChannel& channel) :
|
||||
|
Loading…
Reference in New Issue
Block a user