*/
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;
extern 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);
extern GLint
_mesa_find_free_register(const struct gl_program *prog, GLuint regFile);