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:
alexey.lysiuk 2018-06-30 10:51:47 +03:00
parent ecb5d69ae3
commit da005fa7fc

View file

@ -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() { }