Added virtual destructor to FPresentShaderBase class

No more 'delete called on non-final class that has virtual functions but non-virtual destructor' warnings reported by GCC/Clang
This commit is contained in:
alexey.lysiuk 2017-01-05 15:48:23 +02:00 committed by Christoph Oelckers
parent 9aa49a9199
commit 3dcbbcb514

View file

@ -6,6 +6,7 @@
class FPresentShaderBase
{
public:
virtual ~FPresentShaderBase() {}
virtual void Bind() = 0;
FBufferedUniform1f InvGamma;
@ -26,4 +27,4 @@ public:
FBufferedUniformSampler InputTexture;
};
#endif
#endif