Enable vertex attrib array in drawing function.