glDrawElements (GL_TRIANGLES, 48, GL_UNSIGNED_BYTE, (GLvoid*)0); ... call to glDrawArrays and replaced it with a call to a function called glDrawElements .
確定! 回上一頁