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/swrast/s_context.c | |
parent | f5a2ac95c30b0d4cecc47aeebfb056ec6ac8e511 (diff) |
Add const qualifiers in a number of places.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index c544e6c166c..a2438813222 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -231,7 +231,7 @@ static void _swrast_update_fragment_program( GLcontext *ctx ) { if (ctx->FragmentProgram._Active) { - struct fragment_program *program = ctx->FragmentProgram._Current; + const struct fragment_program *program = ctx->FragmentProgram._Current; _mesa_load_state_parameters(ctx, program->Base.Parameters); } } |