summaryrefslogtreecommitdiff
path: root/src/render/pass/FramebufferElement.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-01 21:35:42 +0100
committervaxerski <vaxry@vaxry.net>2025-01-01 22:55:21 +0100
commit9f3c9ac01a9a6ecef74429dc9a1dea250ef43c50 (patch)
tree9124ae6ce398f4daf2ed1cf56e3d33b07df77c1a /src/render/pass/FramebufferElement.hpp
parent7f177fa1cf3d8ede2841cdbbbdb7acaf27e40d57 (diff)
pass: mark crucial elements as undiscardable
Diffstat (limited to 'src/render/pass/FramebufferElement.hpp')
-rw-r--r--src/render/pass/FramebufferElement.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/pass/FramebufferElement.hpp b/src/render/pass/FramebufferElement.hpp
index f3d181d4..ab1f1426 100644
--- a/src/render/pass/FramebufferElement.hpp
+++ b/src/render/pass/FramebufferElement.hpp
@@ -14,6 +14,7 @@ class CFramebufferElement : public IPassElement {
virtual void draw(const CRegion& damage);
virtual bool needsLiveBlur();
virtual bool needsPrecomputeBlur();
+ virtual bool undiscardable();
virtual const char* passName() {
return "CFramebufferElement";