do not copy data in glBufferData if data is NULL
remove printf in glGetError
reset current_attrib to {0, 0, 0, 1}