mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
wg_engine: resolve gcc compiler warnings.
virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
This commit is contained in:
parent
97ee9edaa2
commit
d9294471a6
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ protected:
|
||||||
WGPUPipelineLayout mPipelineLayout{};
|
WGPUPipelineLayout mPipelineLayout{};
|
||||||
WGPUShaderModule mShaderModule{};
|
WGPUShaderModule mShaderModule{};
|
||||||
public:
|
public:
|
||||||
|
virtual ~WgPipeline() {}
|
||||||
virtual void initialize(WGPUDevice device) = 0;
|
virtual void initialize(WGPUDevice device) = 0;
|
||||||
virtual void release();
|
virtual void release();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue