修订其它范例以可以正常运行,接下来制作RenderTarget

This commit is contained in:
2019-07-16 10:44:19 +08:00
parent 7da7e12020
commit ec106446b2
10 changed files with 15 additions and 15 deletions

View File

@@ -137,7 +137,7 @@ private:
bool InitPipeline()
{
AutoDelete<vulkan::PipelineCreater>
pipeline_creater=new vulkan::PipelineCreater(device,material,device->GetMainRenderPass(),device->GetExtent());
pipeline_creater=new vulkan::PipelineCreater(device,material,swapchain->GetMainRenderPass(),swapchain->GetExtent());
pipeline_creater->Set(PRIM_LINES);
pipeline_line=pipeline_creater->Create();