mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-19 05:02:04 +00:00
OpenGL ES is only required to support unsigned short for element buffer values. R_DrawElements() firstIndex argument was glIndex_t which caused element indexes to wrap around to 0 when glIndex_t is an unsigned short. (glIndex_t is an index into the vertexes buffer, not element buffer.) Change it to 'int' like tess.firstIndex which is passed to R_DrawElements(). World VAO cache buffer size allowed storing more vertexes than unsigned short glIndex_t could reference. This resulted in the vertex indexes in the element buffer wrapping around to 0. |
||
---|---|---|
.. | ||
AL | ||
asm | ||
autoupdater | ||
botlib | ||
cgame | ||
client | ||
curl-7.54.0/include | ||
game | ||
jpeg-8c | ||
libogg-1.3.3 | ||
libs | ||
libvorbis-1.3.6 | ||
null | ||
opus-1.2.1 | ||
opusfile-0.9 | ||
q3_ui | ||
qcommon | ||
renderercommon | ||
renderergl1 | ||
renderergl2 | ||
sdl | ||
SDL2 | ||
server | ||
sys | ||
tools | ||
ui | ||
zlib |