summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
-rw-r--r--src/render/pass/SurfacePassElement.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/pass/SurfacePassElement.hpp b/src/render/pass/SurfacePassElement.hpp
index 058744de..bd02417d 100644
--- a/src/render/pass/SurfacePassElement.hpp
+++ b/src/render/pass/SurfacePassElement.hpp
@@ -52,7 +52,6 @@ class CSurfacePassElement : public IPassElement {
CSurfacePassElement(const SRenderData& data);
virtual ~CSurfacePassElement() = default;
- virtual void draw(const CRegion& damage);
virtual bool needsLiveBlur();
virtual bool needsPrecomputeBlur();
virtual std::optional<CBox> boundingBox();
@@ -64,7 +63,10 @@ class CSurfacePassElement : public IPassElement {
return "CSurfacePassElement";
}
- private:
+ virtual ePassElementType type() {
+ return EK_SURFACE;
+ };
+
SRenderData m_data;
CBox getTexBox();