refs #2527, fixes #774: properly unbind VAO

This commit is contained in:
Justin R. Miller
2015-10-05 16:23:13 -07:00
parent d42bf35f06
commit 999b0d2c75

View File

@@ -419,6 +419,7 @@ void Painter::renderBackground(const StyleLayer &layer_desc) {
patternShader->u_patternmatrix_a = matrixA;
patternShader->u_patternmatrix_b = matrixB;
VertexArrayObject::Unbind();
backgroundBuffer.bind();
patternShader->bind(0);
spriteAtlas->bind(true);