summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-02 22:58:54 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-06-02 22:58:54 +0200
commite11cb8b328ff2ed9459f12319808226d3b900aa2 (patch)
tree8c8c194a300c928b98e53738bbc291682fab281d /src/render/OpenGL.hpp
parent7b568d7ad8989718a3f1fa9e23d366154ff1962b (diff)
Added antialiasing to outer edges
simplified, stupidly fast MSAA for rounded edges
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp2
1 files changed, 1 insertions, 1 deletions
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);
};