pass: remove renderer finalDamage since it's unused (#9996)
This commit is contained in:
parent
4f991610d0
commit
0a7e2cb152
4 changed files with 10 additions and 21 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue