diff options
Diffstat (limited to 'src/shader.cpp')
-rw-r--r-- | src/shader.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shader.cpp b/src/shader.cpp index ef15f29ba..0ac54ec08 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -211,8 +211,7 @@ public: class MainShaderConstantSetter : public IShaderConstantSetter { public: - MainShaderConstantSetter(IrrlichtDevice *device): - m_device(device) + MainShaderConstantSetter(IrrlichtDevice *device) {} ~MainShaderConstantSetter() {} @@ -256,9 +255,6 @@ public: services->setVertexShaderConstant(world.pointer(), 8, 4); } - -private: - IrrlichtDevice *m_device; }; /* |