deleted GetVAB function of VKPipeline
This commit is contained in:
parent
3bd165fbe5
commit
be668ea2ec
@ -35,8 +35,6 @@ public:
|
||||
|
||||
operator VkPipeline(){return pipeline;}
|
||||
|
||||
const VAB *GetVAB()const{return data->GetVAB();}
|
||||
|
||||
const bool IsAlphaTest()const{return data->alpha_test>0;}
|
||||
const bool IsAlphaBlend()const{return data->alpha_blend;}
|
||||
};//class GraphicsPipeline
|
||||
|
@ -3,6 +3,7 @@
|
||||
VK_NAMESPACE_BEGIN
|
||||
Pipeline::~Pipeline()
|
||||
{
|
||||
delete data;
|
||||
vkDestroyPipeline(device,pipeline,nullptr);
|
||||
}
|
||||
VK_NAMESPACE_END
|
||||
|
Loading…
x
Reference in New Issue
Block a user