renderer: reset scissor after renderTexturePrimitive

This commit is contained in:
vaxerski 2023-07-25 13:33:08 +02:00
parent 4173d2ccf6
commit a9b8e2159c
1 changed files with 2 additions and 0 deletions

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