From 6afab12b91baddb6d4a9c348e3fb2bf8c4e6e6ea Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 4 Sep 2022 19:27:38 +0200 Subject: fix blur on transformed displays --- src/render/OpenGL.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/OpenGL.hpp') diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 6eaa638c..b81fd0f8 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -91,9 +91,9 @@ public: void clear(const CColor&); void clearWithTex(); - void scissor(const wlr_box*); - void scissor(const pixman_box32*); - void scissor(const int x, const int y, const int w, const int h); + void scissor(const wlr_box*, bool transform = true); + void scissor(const pixman_box32*, bool transform = true); + void scissor(const int x, const int y, const int w, const int h, bool transform = true); void destroyMonitorResources(CMonitor*); -- cgit v1.2.3