renderer: reset scissor after renderTexturePrimitive

This commit is contained in:
vaxerski 2023-07-25 13:33:08 +02:00
parent 4173d2ccf6
commit a9b8e2159c

View file

@ -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);