From d9736db6676948e06712d4bcba46b7040452f870 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 May 2006 02:44:46 +0000 Subject: Add const qualifiers in a number of places. --- src/mesa/swrast/s_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_context.c') 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); } } -- cgit v1.2.3