projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
642bbc6
)
tnl: add const qualifier to silence warning
author
Brian Paul
<brianp@vmware.com>
Tue, 30 Aug 2011 15:47:25 +0000
(09:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 30 Aug 2011 16:17:53 +0000
(10:17 -0600)
src/mesa/tnl/t_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_draw.c
b/src/mesa/tnl/t_draw.c
index a5225c439b5b9e1054802d3fce46f48ceb5ddd46..283ab6954857a4cc78d9970ccc296718be964ea5 100644
(file)
--- 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;