Re: segmentation fault in crserver.

"James Supancic" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
I think you may have left the deffintion of crStateUseServerArrayElements
out. I did a cvs checkout to be sure, I tried to build, it failed. so I did
grep -ri crStateUseServerArrayElements ./*
and it returns one line
./spu/tilesort/tilesortspu_client.c:
crStateUseServerArrayElements()) {

ig, you are calling a function without a deffintion. I think...

the tail of the build error is
Compiling tilesortspu_client.c
tilesortspu_client.c: In function `tilesortspu_DrawElements':
tilesortspu_client.c:134: warning: implicit declaration of function
`crStateUseServerArrayElements'
gmake[3]: *** [../../built/tilesortspu/Linux/tilesortspu_client.o] Error 1
gmake[2]: *** [dep] Error 2
gmake[1]: *** [tilesort.subdir] Error 2
make: *** [spu.subdir] Error 2


Thank you for your time,
James Steven Supancic III

On 8/3/06, Brian Paul <[email protected]> wrote:
>
>
> 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

_______________________________________________
Chromium-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-users
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.