diff options
author | vaxerski <[email protected]> | 2022-05-18 14:47:22 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-18 14:47:22 +0200 |
commit | a1739cd4e0c242bacfc04d468be58e4d2cd9e9b5 (patch) | |
tree | 7baceae6e18afce6bf1829b3a6eb4c5d09099107 | |
parent | 6c437763f65489b7c720c56d2f2f69781a39e497 (diff) | |
download | Hyprland-a1739cd4e0c242bacfc04d468be58e4d2cd9e9b5.tar.gz Hyprland-a1739cd4e0c242bacfc04d468be58e4d2cd9e9b5.zip |
fix a fucking placeholder i leftscaling
-rw-r--r-- | src/render/OpenGL.cpp | 4 |
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; } |