summaryrefslogtreecommitdiff
path: root/src/vk/graphics_pipeline_2d_wired.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vk/graphics_pipeline_2d_wired.cpp')
-rw-r--r--src/vk/graphics_pipeline_2d_wired.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vk/graphics_pipeline_2d_wired.cpp b/src/vk/graphics_pipeline_2d_wired.cpp
index 51431b4..6590508 100644
--- a/src/vk/graphics_pipeline_2d_wired.cpp
+++ b/src/vk/graphics_pipeline_2d_wired.cpp
@@ -67,8 +67,7 @@ load_framebuffer(void *obj)
VkFramebufferCreateInfo framebuffer_info{};
framebuffer_info.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO;
- framebuffer_info.renderPass =
- cg_core.vk_graphics_pipeline_2d_wired_layout->render_pass;
+ framebuffer_info.renderPass = cg_core.vk_render_pass->pipeline_2d;
framebuffer_info.attachmentCount = attachments.size();
framebuffer_info.pAttachments = attachments.data();
framebuffer_info.width = cg_core.display_width;
@@ -244,8 +243,7 @@ load_pipeline(void *obj)
pipeline_info.pDynamicState = &dynamic_state_info;
pipeline_info.layout =
cg_core.vk_graphics_pipeline_2d_wired_layout->pipeline;
- pipeline_info.renderPass =
- cg_core.vk_graphics_pipeline_2d_wired_layout->render_pass;
+ pipeline_info.renderPass = cg_core.vk_render_pass->pipeline_2d;
pipeline_info.subpass = 0;
pipeline_info.basePipelineHandle = VK_NULL_HANDLE;
pipeline_info.basePipelineIndex = -1;