summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 59bea30d..f82721b6 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -565,10 +565,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int thick, i
wlr_matrix_transpose(glMatrix, glMatrix);
- if (col.a == 255.f)
- glDisable(GL_BLEND);
- else
- glEnable(GL_BLEND);
+ glEnable(GL_BLEND);
glUseProgram(m_shQUAD.program);