diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-19 14:04:50 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-19 14:05:02 +0100 |
| commit | 6e15590e98ca643d06eacc84adf161bcef705c0b (patch) | |
| tree | 38fa72ef0e5b6425cb4a1eb37af3a7555ac34c4e /src/render/OpenGL.hpp | |
| parent | d70cc88dab11bc6d1095523a0ce655dff40b27a2 (diff) | |
shaders: support changing the outer radius of borders independently
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 c04e8c65..61e8ffdb 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -109,7 +109,7 @@ class CHyprOpenGLImpl { void renderTexture(const CTexture&, wlr_box*, float a, int round = 0, bool discardActive = false, bool allowCustomUV = false); void renderTextureWithBlur(const CTexture&, wlr_box*, float a, wlr_surface* pSurface, int round = 0, bool blockBlurOptimization = false, float blurA = 1.f); void renderRoundedShadow(wlr_box*, int round, int range, float a = 1.0); - void renderBorder(wlr_box*, const CGradientValueData&, int round, int borderSize, float a = 1.0); + void renderBorder(wlr_box*, const CGradientValueData&, int round, int borderSize, float a = 1.0, int outerRound = -1 /* use round */); void saveMatrix(); void setMatrixScaleTranslate(const Vector2D& translate, const float& scale); |
