summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-08-30 09:47:25 -0600
committerBrian Paul <[email protected]>2011-08-30 10:17:53 -0600
commit788d9bf12174ce59584f4ed768a24a9626f5d9b7 (patch)
tree647d7ba9d59355e567e981bff94768b5260295cf /src/mesa/tnl
parent642bbc6f596722492470c4322a9c011e1705a951 (diff)
tnl: add const qualifier to silence warning
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_draw.c2
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;