summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-04 19:27:38 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-04 19:27:38 +0200
commit6afab12b91baddb6d4a9c348e3fb2bf8c4e6e6ea (patch)
tree6a8c5f13f356b38a6904c82917e729bccfc66bdc /src/render/OpenGL.hpp
parent7a3b57c99c1501055512174f94840153f4e65c71 (diff)
fix blur on transformed displays
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp6
1 files changed, 3 insertions, 3 deletions
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*);