Files
q3-sydney-qvm/code/renderergl2
Zack Middleton 14cc4cc6cb OpenGL2: Fix world VAO cache drawing when glIndex_t is unsigned short
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.
2018-07-20 23:40:31 -05:00
..
2018-05-14 18:30:59 -07:00
2017-11-22 01:40:20 -06:00
2017-11-22 01:40:20 -06:00
2017-04-28 02:13:25 -07:00
2017-11-22 01:40:20 -06:00
2018-05-14 18:30:59 -07:00
2017-04-28 02:13:25 -07:00
2017-06-16 16:52:53 -07:00