diff options
author | Brian Paul <[email protected]> | 2006-05-23 02:44:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-05-23 02:44:46 +0000 |
commit | d9736db6676948e06712d4bcba46b7040452f870 (patch) | |
tree | 1a348c790bb7a6ccc5b80d0e5cc0e5687f969dfb /src/mesa/tnl/t_vp_build.c | |
parent | f5a2ac95c30b0d4cecc47aeebfb056ec6ac8e511 (diff) |
Add const qualifiers in a number of places.
Diffstat (limited to 'src/mesa/tnl/t_vp_build.c')
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index eb12dfe6aa1..6789fd38fb8 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -115,7 +115,7 @@ static struct state_key *make_state_key( GLcontext *ctx ) { TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; - struct fragment_program *fp = ctx->FragmentProgram._Current; + const struct fragment_program *fp = ctx->FragmentProgram._Current; struct state_key *key = CALLOC_STRUCT(state_key); GLuint i; @@ -1493,7 +1493,7 @@ void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx ) TNLcontext *tnl = TNL_CONTEXT(ctx); struct state_key *key; GLuint hash; - struct vertex_program *prev = ctx->VertexProgram._Current; + const struct vertex_program *prev = ctx->VertexProgram._Current; if (ctx->VertexProgram._Enabled == GL_FALSE) { /* Grab all the relevent state and put it in a single structure: |