Fixed unused parameter warning.
This commit is contained in:
parent
82cd2d4515
commit
8a3b56cc59
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user