summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-01-16 17:59:50 +0000
committerBrian Paul <[email protected]>2005-01-16 17:59:50 +0000
commitc07ec046b7492602f32f9139a13bfcc8db0253c3 (patch)
treeff77c04a7c528d3fa1cc0e6568e7f1bc5acc5769 /src/mesa
parent14aea4a485346ad8241cc3285ac76b7f5a8e70e0 (diff)
make tnl_clipspace_attr->insert field const, to silence warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 41f9445f97a..2d99c8576f0 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -552,7 +552,7 @@ struct tnl_clipspace_attr
GLuint vertattrsize; /* size of the attribute in bytes */
GLubyte *inputptr;
GLuint inputstride;
- tnl_insert_func *insert;
+ const tnl_insert_func *insert;
tnl_insert_func emit;
tnl_extract_func extract;
const GLfloat *vp; /* NDC->Viewport mapping matrix */