From: Brian P. <bri...@tu...> - 2006-08-03 20:37:03
|
Ok, I think I've fixed the vertex array / VBO problem. We were crashing in glDrawElements() when the vertex data was in a server-side VBO but the array element indices were local. Sauerbraten is a little sub-optimal in that regard. If you're going to put your vertex data into a VBO and you're going to use glDrawElements(), the element indices should go in a GL_ELEMENT_ARRAY_BUFFER buffer to get best performance. -Brian |