if(!is_padding(a))
{
unsigned sem = get_attribute_semantic(a);
glDisableVertexAttribArray(sem);
glVertexAttribPointer(sem, 1, GL_FLOAT, false, 0, 0);
}
if(!is_padding(a))
{
unsigned sem = get_attribute_semantic(a);
glDisableVertexAttribArray(sem);
glVertexAttribPointer(sem, 1, GL_FLOAT, false, 0, 0);
}