Fix some high severity bugs

This commit is contained in:
2021-01-13 00:05:59 +01:00
parent e1a51b86b6
commit 89ae811beb
8 changed files with 17 additions and 20 deletions

View File

@@ -9,6 +9,8 @@
class Light
{
public:
virtual ~Light() {}
virtual void update() = 0;
void setActive(bool active)
@@ -38,7 +40,6 @@ public:
protected:
Light(ShaderProgram *shaderProgram) : shaderProgram(shaderProgram) {}
~Light() {}
ShaderProgram *shaderProgram;