summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/prog_execute.c2
-rw-r--r--src/mesa/shader/prog_execute.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 063d572428b..0982e3e3227 100644
--- a/src/mesa/shader/prog_execute.c
+++ b/src/mesa/shader/prog_execute.c
@@ -641,7 +641,7 @@ init_machine_deriv(GLcontext * ctx,
GLboolean
_mesa_execute_program(GLcontext * ctx,
const struct gl_program *program, GLuint maxInst,
- struct gl_program_machine *machine, GLuint element)
+ struct gl_program_machine *machine)
{
const GLuint MAX_EXEC = 10000;
GLint pc, total = 0;
diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h
index 1eb9e73d01a..feda65fe03a 100644
--- a/src/mesa/shader/prog_execute.h
+++ b/src/mesa/shader/prog_execute.h
@@ -75,7 +75,7 @@ _mesa_get_program_register(GLcontext *ctx, enum register_file file,
extern GLboolean
_mesa_execute_program(GLcontext *ctx,
const struct gl_program *program, GLuint maxInst,
- struct gl_program_machine *machine, GLuint element);
+ struct gl_program_machine *machine);
#endif /* PROG_EXECUTE_H */