mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[dxvk] Avoid needless refcount in updateFramebuffer
Avoids a needless refcount
This commit is contained in:
parent
a35f2af5e5
commit
79cf2e875f
@ -4448,7 +4448,7 @@ namespace dxvk {
|
||||
m_state.om.framebuffer = fb;
|
||||
|
||||
for (uint32_t i = 0; i < MaxNumRenderTargets; i++) {
|
||||
Rc<DxvkImageView> attachment = fb->getColorTarget(i).view;
|
||||
const Rc<DxvkImageView>& attachment = fb->getColorTarget(i).view;
|
||||
|
||||
VkComponentMapping mapping = attachment != nullptr
|
||||
? util::invertComponentMapping(attachment->info().swizzle)
|
||||
|
Loading…
Reference in New Issue
Block a user