mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
Fixed compilation warnings reported by Clang
hwrenderer/postprocessing/hw_postprocess.cpp:22:3: warning: delete called on non-final 'PPEffectManager' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] hwrenderer/postprocessing/hw_postprocess.h:64:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete] hwrenderer/postprocessing/hw_postprocess.h:75:3: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete] hwrenderer/postprocessing/hw_postprocess.h:85:4: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
This commit is contained in:
parent
ecb5d69ae3
commit
da005fa7fc
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void *Data = nullptr;
|
uint8_t *Data = nullptr;
|
||||||
int Size = 0;
|
int Size = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -204,6 +204,7 @@ public:
|
||||||
class PPEffectManager
|
class PPEffectManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~PPEffectManager() { }
|
||||||
virtual void DeclareShaders() { }
|
virtual void DeclareShaders() { }
|
||||||
virtual void UpdateTextures() { }
|
virtual void UpdateTextures() { }
|
||||||
virtual void UpdateSteps() { }
|
virtual void UpdateSteps() { }
|
||||||
|
|
Loading…
Reference in a new issue