summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/NullGfx.cpp
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/Null/NullGfx.cpp
parent26e00c3bb4957ce9d26415e415d0b137742844bc (diff)
Handle VideoSoftware's present fallback better
Not a good idea to abuse bSupportsPostProcessing
Diffstat (limited to 'Source/Core/VideoBackends/Null/NullGfx.cpp')
-rw-r--r--Source/Core/VideoBackends/Null/NullGfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Null/NullGfx.cpp b/Source/Core/VideoBackends/Null/NullGfx.cpp
index ce8da5ff06..7449aae09c 100644
--- a/Source/Core/VideoBackends/Null/NullGfx.cpp
+++ b/Source/Core/VideoBackends/Null/NullGfx.cpp
@@ -29,6 +29,11 @@ bool NullGfx::IsHeadless() const
return true;
}
+bool NullGfx::SupportsUtilityDrawing() const
+{
+ return false;
+}
+
std::unique_ptr<AbstractTexture> NullGfx::CreateTexture(const TextureConfig& config,
[[maybe_unused]] std::string_view name)
{