Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 11:41:54 +01:00
parent 82cd2d4515
commit 8a3b56cc59

View File

@ -142,7 +142,7 @@ enum Channel
class ShaderStorageBufferCallback : public osg::StateAttributeCallback class ShaderStorageBufferCallback : public osg::StateAttributeCallback
{ {
public: 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 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 #if 0