From 27c06758e4e2fb9cc06233ec967bde62f447de0f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 5 Apr 2022 15:50:47 +0200 Subject: basic window rounded corners --- src/render/OpenGL.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/OpenGL.hpp') 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*); -- cgit v1.2.3