Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始学习适用于 Android 的 OpenGL ES2,并且遇到了一个奇怪的问题,有时我的对象会呈现一个奇怪的突起(见图)。这并不总是发生,这很奇怪,所以我想知道是否有人对这种事情有任何经验以及如何解决它。
http://img717.imageshack.us/i/device2h.png/
这里的问题是我调用 GLES20.glDrawArrays(type, first, count) 时计数不正确。正确设置变量修复它。