summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-21 23:09:20 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-21 23:09:20 +0200
commit4c2459861b9e61b13443efebde5125d5c68221b0 (patch)
treeacacf74aaa93a2b8644c3197c89d0f1c606eff10 /src/render/OpenGL.hpp
parent0f1ad16aecfdf89dd5d83d38318de8518157e6ee (diff)
fix borders sometimes disappearing on certain windows
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 9a8084db..76de6311 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -53,6 +53,7 @@ public:
void end();
void renderRect(wlr_box*, const CColor&, int round = 0);
+ void renderRectWithDamage(wlr_box*, const CColor&, pixman_region32_t* damage, int round = 0);
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);
void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0, bool border = false);