render: refactor class member vars (#10292)
* render: refactor class member vars * render: fix clang format
This commit is contained in:
parent
c7eb141098
commit
997fefbc11
63 changed files with 1307 additions and 1321 deletions
|
|
@ -2,12 +2,12 @@
|
|||
#include "../OpenGL.hpp"
|
||||
#include "../decorations/CHyprDropShadowDecoration.hpp"
|
||||
|
||||
CShadowPassElement::CShadowPassElement(const CShadowPassElement::SShadowData& data_) : data(data_) {
|
||||
CShadowPassElement::CShadowPassElement(const CShadowPassElement::SShadowData& data_) : m_data(data_) {
|
||||
;
|
||||
}
|
||||
|
||||
void CShadowPassElement::draw(const CRegion& damage) {
|
||||
data.deco->render(g_pHyprOpenGL->m_RenderData.pMonitor.lock(), data.a);
|
||||
m_data.deco->render(g_pHyprOpenGL->m_renderData.pMonitor.lock(), m_data.a);
|
||||
}
|
||||
|
||||
bool CShadowPassElement::needsLiveBlur() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue