hyprland-plugins/hyprtrails/TrailPassElement.cpp
Zebra2711 eab6921631
Some checks failed
Nix / build (push) Has been cancelled
all: chase hyprland (#334)
Co-authored-by: Zebra2711 <zebra2711@users.noreply.github.com>
2025-05-06 03:57:20 +02:00

19 lines
No EOL
469 B
C++

#include "TrailPassElement.hpp"
#include <hyprland/src/render/OpenGL.hpp>
#include "trail.hpp"
CTrailPassElement::CTrailPassElement(const CTrailPassElement::STrailData& data_) : data(data_) {
;
}
void CTrailPassElement::draw(const CRegion& damage) {
data.deco->renderPass(g_pHyprOpenGL->m_renderData.pMonitor.lock(), data.a);
}
bool CTrailPassElement::needsLiveBlur() {
return false;
}
bool CTrailPassElement::needsPrecomputeBlur() {
return false;
}