summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 15:50:47 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 15:50:47 +0200
commit27c06758e4e2fb9cc06233ec967bde62f447de0f (patch)
treea623a30e6b562146f5086e3262666f2e439457f8 /src/render/OpenGL.hpp
parent2313de589ecfb6664fea79c1e2f7aa991cf477cb (diff)
basic window rounded corners
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index c3e1b987..7aa74e6c 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -36,8 +36,8 @@ public:
void end();
void renderRect(wlr_box*, const CColor&);
- void renderTexture(wlr_texture*, float matrix[9], float a);
- void renderTexture(const CTexture&, float matrix[9], float a);
+ void renderTexture(wlr_texture*, float matrix[9], float a, int round = 0);
+ void renderTexture(const CTexture&, float matrix[9], float a, int round = 0);
void clear(const CColor&);
void scissor(const wlr_box*);