Re: segmentation fault in crserver.

"James Supancic" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
While you got Sauerbraten running, you broke tuxracer. I was looking that
the cvs diff to see what you did, and I noticed this
        case GL_UNSIGNED_SHORT:
                {
                        const GLushort *p = (const GLushort *) indices;
                        for (i=0; i<count; i++)
                                crPackExpandArrayElement(p[i], c);
                }
                break;
        case GL_UNSIGNED_INT:
                {
                        const GLushort *p = (const GLushort *) indices;
                        for (i = 0; i < count; i++)
                                crPackExpandArrayElement(p[i], c);
                }
I find that replacing const GLushort *p = (const GLushort *) indices; with
const GLuint *p = (const GLuint *) indices; for case GL_UNSIGNED_INT will
fix tuxracer (which is a mission critical application for many people).

Thank you for your time,
James Steven Supancic III

On 8/4/06, James Supancic <[email protected]> wrote:
>
> The application is still very slow, but it no longer causes segmentation
> faults =) I am going to toy with some configuration options and see if I can
> speed it up a bit that way.
>
> Thank you very much.
>
>
> Thank you for your time,
> James Steven Supancic III
>
> On 8/4/06, Brian Paul <[email protected]> wrote:
> >
> > James Supancic wrote:
> > > 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()) {
> > >
> >
> > Sorry, I forgot to check in a couple files.  Try again.
> >
> > -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.