diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 20:31:54 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 20:31:54 +0200 |
| commit | 2955698f2833920c2356429c4cf7771ebf7e2d56 (patch) | |
| tree | b2dcbbe9530f5bcc162bc4e60432fd73509bf321 /src/render/OpenGL.hpp | |
| parent | 747ff3369d6377628e3e27e3b108c8d61cbc5733 (diff) | |
fix fade with deco
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 5cae6486..9d6e098d 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -61,7 +61,7 @@ public: void renderTexture(wlr_texture*, wlr_box*, float a, int round = 0); void renderTexture(const CTexture&, wlr_box*, float a, int round = 0, bool discardOpaque = false, bool border = false, bool allowPrimary = false); void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0, bool border = false); - void renderRoundedShadow(wlr_box*, int round, int range); + void renderRoundedShadow(wlr_box*, int round, int range, float a = 1.0); void makeWindowSnapshot(CWindow*); void makeLayerSnapshot(SLayerSurface*); |
