summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r--src/mesa/shader/program.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index 0e420179bc..2d8b887791 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -460,7 +460,8 @@ adjust_param_indexes(struct prog_instruction *inst, GLuint numInst,
*/
struct gl_program *
_mesa_combine_programs(GLcontext *ctx,
- struct gl_program *progA, struct gl_program *progB)
+ const struct gl_program *progA,
+ const struct gl_program *progB)
{
struct prog_instruction *newInst;
struct gl_program *newProg;