summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/Render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Null/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/Null/Render.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Null/Render.cpp b/Source/Core/VideoBackends/Null/Render.cpp
index 6c804bd346..4e9cf655c2 100644
--- a/Source/Core/VideoBackends/Null/Render.cpp
+++ b/Source/Core/VideoBackends/Null/Render.cpp
@@ -69,6 +69,14 @@ std::unique_ptr<AbstractPipeline> Renderer::CreatePipeline(const AbstractPipelin
return std::make_unique<NullPipeline>();
}
+std::unique_ptr<AbstractFramebuffer>
+Renderer::CreateFramebuffer(const AbstractTexture* color_attachment,
+ const AbstractTexture* depth_attachment)
+{
+ return NullFramebuffer::Create(static_cast<const NullTexture*>(color_attachment),
+ static_cast<const NullTexture*>(depth_attachment));
+}
+
void Renderer::RenderText(const std::string& text, int left, int top, u32 color)
{
NOTICE_LOG(VIDEO, "RenderText: %s", text.c_str());