Re: segmentation fault in crserver.

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.