diff options
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index c0e070bd..5a436414 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -771,6 +771,8 @@ void CHyprOpenGLImpl::renderTexturePrimitive(const CTexture& tex, wlr_box* pBox) glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } + scissor((wlr_box*)nullptr); + glDisableVertexAttribArray(shader->posAttrib); glDisableVertexAttribArray(shader->texAttrib); |