fix misunderstanding about glVertexAttribPointer and glVertexAttribIPointer