From 8a3b56cc59ef7c37d2c497ab4a96b2eee3f7c952 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 11:41:54 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osgSSBO/osgSSBO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgSSBO/osgSSBO.cpp b/examples/osgSSBO/osgSSBO.cpp index a98baab82..61b4f9aa1 100644 --- a/examples/osgSSBO/osgSSBO.cpp +++ b/examples/osgSSBO/osgSSBO.cpp @@ -142,7 +142,7 @@ enum Channel class ShaderStorageBufferCallback : public osg::StateAttributeCallback { public: - void operator() (osg::StateAttribute* attr, osg::NodeVisitor* nv) + void operator() (osg::StateAttribute* /*attr*/, osg::NodeVisitor* /*nv*/) { //if you need to process the data in your app-code , better leaving it on GPU and processing there, uploading per frame will make it slow #if 0