From a9b8e2159c2813a6951d0b0186fbb7f2f8554d3e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 25 Jul 2023 13:33:08 +0200 Subject: [PATCH] renderer: reset scissor after renderTexturePrimitive --- src/render/OpenGL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index c0e070bdb..5a4364141 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);