Among other problems stated in answers and comments, your position and texcoord attribute locations are wrong: glVertexAttribPointer(0, 2 ...
確定! 回上一頁