tnl: add const qualifier to silence warning

This commit is contained in:
Brian Paul 2011-08-30 09:47:25 -06:00
parent 642bbc6f59
commit 788d9bf121

View file

@ -340,7 +340,7 @@ static void bind_indices( struct gl_context *ctx,
TNLcontext *tnl = TNL_CONTEXT(ctx);
struct vertex_buffer *VB = &tnl->vb;
GLuint i;
void *ptr;
const void *ptr;
if (!ib) {
VB->Elts = NULL;