summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-28 16:23:30 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:24 +1300
commitf158ff300b72cff5ca1e2e62bc239111987188af (patch)
tree0ba518f48f8f2e0ac0c0ea2775c69a071cec2056 /Source/Core/VideoBackends/Software
parent26e00c3bb4957ce9d26415e415d0b137742844bc (diff)
Handle VideoSoftware's present fallback better
Not a good idea to abuse bSupportsPostProcessing
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.cpp5
-rw-r--r--Source/Core/VideoBackends/Software/SWGfx.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp
index b53b7ae89a..7e8c234540 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.cpp
+++ b/Source/Core/VideoBackends/Software/SWGfx.cpp
@@ -27,6 +27,11 @@ bool SWGfx::IsHeadless() const
return m_window->IsHeadless();
}
+bool SWGfx::SupportsUtilityDrawing() const
+{
+ return false;
+}
+
std::unique_ptr<AbstractTexture> SWGfx::CreateTexture(const TextureConfig& config,
[[maybe_unused]] std::string_view name)
{
diff --git a/Source/Core/VideoBackends/Software/SWGfx.h b/Source/Core/VideoBackends/Software/SWGfx.h
index 48015fda25..1337d89525 100644
--- a/Source/Core/VideoBackends/Software/SWGfx.h
+++ b/Source/Core/VideoBackends/Software/SWGfx.h
@@ -15,6 +15,7 @@ public:
SWGfx(std::unique_ptr<SWOGLWindow> window);
bool IsHeadless() const override;
+ virtual bool SupportsUtilityDrawing() const override;
std::unique_ptr<AbstractTexture> CreateTexture(const TextureConfig& config,
std::string_view name) override;