mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
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:
parent
d77718d422
commit
0e9f52f9e5
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
class FPresentShaderBase
|
class FPresentShaderBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~FPresentShaderBase() {}
|
||||||
virtual void Bind() = 0;
|
virtual void Bind() = 0;
|
||||||
|
|
||||||
FBufferedUniform1f InvGamma;
|
FBufferedUniform1f InvGamma;
|
||||||
|
@ -26,4 +27,4 @@ public:
|
||||||
FBufferedUniformSampler InputTexture;
|
FBufferedUniformSampler InputTexture;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue