summaryrefslogtreecommitdiff
path: root/src/render/pass/Pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/pass/Pass.cpp')
-rw-r--r--src/render/pass/Pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/pass/Pass.cpp b/src/render/pass/Pass.cpp
index e4ef6f96..05e83e70 100644
--- a/src/render/pass/Pass.cpp
+++ b/src/render/pass/Pass.cpp
@@ -29,7 +29,7 @@ void CRenderPass::add(UP<IPassElement>&& el) {
void CRenderPass::simplify(bool willBlur, const CRegion& liveBlurRegion) {
const auto pMonitor = g_pHyprRenderer->m_renderData.pMonitor;
- static auto PDEBUGPASS = CConfigValue<Hyprlang::INT>("debug:pass");
+ static auto PDEBUGPASS = CConfigValue<Config::INTEGER>("debug:pass");
// TODO: use precompute blur for instances where there is nothing in between
@@ -102,7 +102,7 @@ void CRenderPass::clear() {
CRegion CRenderPass::render(const CRegion& damage_) {
const auto pMonitor = g_pHyprRenderer->m_renderData.pMonitor;
- static auto PDEBUGPASS = CConfigValue<Hyprlang::INT>("debug:pass");
+ static auto PDEBUGPASS = CConfigValue<Config::INTEGER>("debug:pass");
// single pass: cache blur results and gather aggregate info
bool willBlur = false, willDisableSimplification = false, willPrecomputeBlur = false;
@@ -309,8 +309,8 @@ void CRenderPass::renderDebugData() {
float CRenderPass::oneBlurRadius() {
// TODO: is this exact range correct?
- static auto PBLURSIZE = CConfigValue<Hyprlang::INT>("decoration:blur:size");
- static auto PBLURPASSES = CConfigValue<Hyprlang::INT>("decoration:blur:passes");
+ static auto PBLURSIZE = CConfigValue<Config::INTEGER>("decoration:blur:size");
+ static auto PBLURPASSES = CConfigValue<Config::INTEGER>("decoration:blur:passes");
const auto BLUR_PASSES = std::clamp(*PBLURPASSES, sc<int64_t>(1), sc<int64_t>(8));