currently glVertexAttribPointer function causes error 1280 (probably GL_INVALID_ENUM)