From e11cb8b328ff2ed9459f12319808226d3b900aa2 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 2 Jun 2022 22:58:54 +0200 Subject: Added antialiasing to outer edges simplified, stupidly fast MSAA for rounded edges --- src/render/OpenGL.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 34eef478..9a8084db 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -110,7 +110,7 @@ private: // returns the out FB, can be either Mirror or MirrorSwap CFramebuffer* blurMainFramebufferWithDamage(float a, wlr_box* pBox, pixman_region32_t* damage); - void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, pixman_region32_t* damage, int round = 0, bool discardOpaque = false, bool border = false); + void renderTextureInternalWithDamage(const CTexture&, wlr_box* pBox, float a, pixman_region32_t* damage, int round = 0, bool discardOpaque = false, bool border = false, bool noAA = false); void renderBorder(wlr_box*, const CColor&, int thick = 1, int round = 0); }; -- cgit v1.2.3