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 4006e256f..4013add6c 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -210,8 +210,7 @@ public: class MainShaderConstantSetter : public IShaderConstantSetter { public: - MainShaderConstantSetter(IrrlichtDevice *device): - m_device(device) + MainShaderConstantSetter(IrrlichtDevice *device) {} ~MainShaderConstantSetter() {} @@ -255,9 +254,6 @@ public: services->setVertexShaderConstant(world.pointer(), 8, 4); } - -private: - IrrlichtDevice *m_device; }; /* |