struct tnl_prim prim;
static void *ptr = NULL;
static struct r300_dma_region rvb;
- GLvoid *indices;
+ GLvoid *indices = c_indices;
if (count > 65535) {
WARN_ONCE("Too many verts!\n");
return;
}
/* actual address is the sum of pointers */
- indices = (const GLvoid *)
+ indices = (GLvoid *)
ADD_POINTERS(ctx->Array.ElementArrayBufferObj->Data, (const GLubyte *) c_indices);
}
int i;
void *ptr = NULL;
static struct r300_dma_region rvb;
- GLvoid *indices;
+ GLvoid *indices = c_indices;
if (count > 65535) {
WARN_ONCE("Too many verts!\n");
return;
}
/* actual address is the sum of pointers */
- indices = (const GLvoid *)
+ indices = (GLvoid *)
ADD_POINTERS(ctx->Array.ElementArrayBufferObj->Data, (const GLubyte *) c_indices);
}