From: Brian P. <bri...@tu...> - 2006-08-07 14:14:51
|
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 |