GPUParticles: Forgot to reset vertexattrib divisor

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
vincentlj
2014-01-01 01:51:52 +00:00
parent a38522da70
commit 0fc2f664b6

View File

@@ -447,6 +447,7 @@ void ParticleSystemProxy::draw()
glDrawArraysInstanced(GL_TRIANGLE_STRIP, 0, 4, count);
glVertexAttribDivisor(attrib_lf, 0);
glVertexAttribDivisor(attrib_pos, 0);
glVertexAttribDivisor(attrib_sz, 0);
glDisableVertexAttribArray(attrib_pos);
glDisableVertexAttribArray(attrib_lf);
glDisableVertexAttribArray(attrib_quadcorner);