Re: segmentation fault in crserver.
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
James Supancic wrote:
> 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).
OK, fixed.
-Brian
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642