summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2025-04-09 10:50:06 -0500
committerGitHub <noreply@github.com>2025-04-09 17:50:06 +0200
commit0a7e2cb152a11db35aa134fad0919bc939f16bae (patch)
tree0954e76875a2f76a61391760b456babac751320a /src/render/OpenGL.hpp
parent4f991610d03609e4cfe06b4a1be694ce439b779b (diff)
pass: remove renderer finalDamage since it's unused (#9996)
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index ab091f24..539d2444 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -125,7 +125,6 @@ struct SCurrentRenderData {
CFramebuffer* outFB = nullptr; // out to render to (if offloaded, etc)
CRegion damage;
- CRegion finalDamage; // damage used for funal off -> main
SRenderModifData renderModif;
float mouseZoomFactor = 1.f;
@@ -172,7 +171,7 @@ class CHyprOpenGLImpl {
CHyprOpenGLImpl();
~CHyprOpenGLImpl();
- void begin(PHLMONITOR, const CRegion& damage, CFramebuffer* fb = nullptr, std::optional<CRegion> finalDamage = {});
+ void begin(PHLMONITOR, const CRegion& damage, CFramebuffer* fb = nullptr);
void beginSimple(PHLMONITOR, const CRegion& damage, SP<CRenderbuffer> rb = nullptr, CFramebuffer* fb = nullptr);
void end();
@@ -227,7 +226,7 @@ class CHyprOpenGLImpl {
SP<CTexture> loadAsset(const std::string& file);
SP<CTexture> renderText(const std::string& text, CHyprColor col, int pt, bool italic = false, const std::string& fontFamily = "", int maxWidth = 0);
- void setDamage(const CRegion& damage, std::optional<CRegion> finalDamage = {});
+ void setDamage(const CRegion& damage);
void ensureBackgroundTexturePresence();