diff options
author | Brian Paul <[email protected]> | 2011-08-30 09:47:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-08-30 10:17:53 -0600 |
commit | 788d9bf12174ce59584f4ed768a24a9626f5d9b7 (patch) | |
tree | 647d7ba9d59355e567e981bff94768b5260295cf /src/mesa/tnl/t_draw.c | |
parent | 642bbc6f596722492470c4322a9c011e1705a951 (diff) |
tnl: add const qualifier to silence warning
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r-- | src/mesa/tnl/t_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index a5225c439b5..283ab695485 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -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; |