summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWGfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWGfx.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp
index 5837e19bf8..78d2d14d63 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.cpp
+++ b/Source/Core/VideoBackends/Software/SWGfx.cpp
@@ -44,11 +44,13 @@ std::unique_ptr<AbstractStagingTexture> SWGfx::CreateStagingTexture(StagingTextu
return std::make_unique<SWStagingTexture>(type, config);
}
-std::unique_ptr<AbstractFramebuffer> SWGfx::CreateFramebuffer(AbstractTexture* color_attachment,
- AbstractTexture* depth_attachment)
+std::unique_ptr<AbstractFramebuffer>
+SWGfx::CreateFramebuffer(AbstractTexture* color_attachment, AbstractTexture* depth_attachment,
+ std::vector<AbstractTexture*> additional_color_attachments)
{
return SWFramebuffer::Create(static_cast<SWTexture*>(color_attachment),
- static_cast<SWTexture*>(depth_attachment));
+ static_cast<SWTexture*>(depth_attachment),
+ std::move(additional_color_attachments));
}
void SWGfx::BindBackbuffer(const ClearColor& clear_color)