From c628fd743ee3c3305e9beac7f0e6efacf6982115 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 Nov 2010 10:28:43 -0700 Subject: mesa: replace #defines with new gl_shader_type enum --- src/mesa/program/program.c | 2 +- src/mesa/program/program.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/program') diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 1e99e1e..9ffa49b 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -925,7 +925,7 @@ _mesa_find_free_register(const GLboolean used[], */ GLboolean _mesa_valid_register_index(const struct gl_context *ctx, - GLuint shaderType, + gl_shader_type shaderType, gl_register_file file, GLint index) { const struct gl_program_constants *c; diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h index 1f1d614..ce37b95 100644 --- a/src/mesa/program/program.h +++ b/src/mesa/program/program.h @@ -168,7 +168,7 @@ _mesa_find_free_register(const GLboolean used[], extern GLboolean _mesa_valid_register_index(const struct gl_context *ctx, - GLuint shaderType, + gl_shader_type shaderType, gl_register_file file, GLint index); extern void -- cgit v1.1