deleted GetVAB function of VKPipeline

This commit is contained in:
hyzboy 2022-01-07 16:23:27 +08:00
parent 3bd165fbe5
commit be668ea2ec
2 changed files with 1 additions and 2 deletions

View File

@ -35,8 +35,6 @@ public:
operator VkPipeline(){return pipeline;} operator VkPipeline(){return pipeline;}
const VAB *GetVAB()const{return data->GetVAB();}
const bool IsAlphaTest()const{return data->alpha_test>0;} const bool IsAlphaTest()const{return data->alpha_test>0;}
const bool IsAlphaBlend()const{return data->alpha_blend;} const bool IsAlphaBlend()const{return data->alpha_blend;}
};//class GraphicsPipeline };//class GraphicsPipeline

View File

@ -3,6 +3,7 @@
VK_NAMESPACE_BEGIN VK_NAMESPACE_BEGIN
Pipeline::~Pipeline() Pipeline::~Pipeline()
{ {
delete data;
vkDestroyPipeline(device,pipeline,nullptr); vkDestroyPipeline(device,pipeline,nullptr);
} }
VK_NAMESPACE_END VK_NAMESPACE_END