Module: Mesa Branch: master Commit: 788d9bf12174ce59584f4ed768a24a9626f5d9b7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=788d9bf12174ce59584f4ed768a24a9626f5d9b7
Author: Brian Paul <[email protected]> Date: Tue Aug 30 09:47:25 2011 -0600 tnl: add const qualifier to silence warning --- 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 a5225c4..283ab69 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
