aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-18 20:35:24 +0200
committervaxerski <[email protected]>2022-05-18 20:35:24 +0200
commite225d949e7f6db926d80ed50a74da2436ac28b85 (patch)
tree8e68e18891e044557c113c3be3f25d828161afee
parent198fc90df5079f90a647a730f54bcae441fc363c (diff)
downloadHyprland-e225d949e7f6db926d80ed50a74da2436ac28b85.tar.gz
Hyprland-e225d949e7f6db926d80ed50a74da2436ac28b85.zip
And now fix the placeholder
-rw-r--r--src/render/OpenGL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index d18afb6d..e330456c 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -200,7 +200,7 @@ void CHyprOpenGLImpl::clear(const CColor& color) {
void CHyprOpenGLImpl::scissor(const wlr_box* pBox) {
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
- if (!pBox || true) {
+ if (!pBox) {
glDisable(GL_SCISSOR_TEST);
return;
}
@@ -212,7 +212,7 @@ void CHyprOpenGLImpl::scissor(const wlr_box* pBox) {
void CHyprOpenGLImpl::scissor(const pixman_box32* pBox) {
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
- if (!pBox || true) {
+ if (!pBox) {
glDisable(GL_SCISSOR_TEST);
return;
}