mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +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;
|
||||
};
|
||||
|
||||
|
@ -204,6 +204,7 @@ public:
|
|||
class PPEffectManager
|
||||
{
|
||||
public:
|
||||
virtual ~PPEffectManager() { }
|
||||
virtual void DeclareShaders() { }
|
||||
virtual void UpdateTextures() { }
|
||||
virtual void UpdateSteps() { }
|
||||
|
|
Loading…
Reference in a new issue