Add GetDevice function instead of accessing device member directly
This commit is contained in:
parent
cd35a0ad76
commit
184e73ab28
16 changed files with 139 additions and 142 deletions
|
|
@ -560,7 +560,7 @@ void VkRenderState::BeginRenderPass(VulkanCommandBuffer *cmdbuffer)
|
|||
if (key.DepthStencil)
|
||||
builder.AddAttachment(mRenderTarget.DepthStencil);
|
||||
builder.DebugName("VkRenderPassSetup.Framebuffer");
|
||||
framebuffer = builder.Create(fb->device.get());
|
||||
framebuffer = builder.Create(fb->GetDevice());
|
||||
}
|
||||
|
||||
// Only clear depth+stencil if the render target actually has that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue