don't call va each frame in GLSL_VertexAttribPointers

This commit is contained in:
Anthony Pesch 2014-01-14 13:19:15 -08:00
parent 4520857fc9
commit 3603102088

View file

@ -1647,7 +1647,10 @@ void GLSL_VertexAttribPointers(uint32_t attribBits)
}
// don't just call LogComment, or we will get a call to va() every frame!
if(r_logFile->integer)
{
GLimp_LogComment(va("--- GL_VertexAttribPointers( %s ) ---\n", vbo->name));
}
// position/normal/tangent are always set in case of animation
oldFrame = glState.vertexAttribsOldFrame;