summaryrefslogtreecommitdiff
path: root/src/mesa/program
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-23 10:28:43 -0700
committerBrian Paul <brianp@vmware.com>2010-11-23 15:52:43 -0700
commitc628fd743ee3c3305e9beac7f0e6efacf6982115 (patch)
tree873ae98daf0b76c1778e0c10da0226ca91bff089 /src/mesa/program
parent512f840702d58b48607a9dca06dd939256c7afed (diff)
mesa: replace #defines with new gl_shader_type enum
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/program.c2
-rw-r--r--src/mesa/program/program.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index 1e99e1e4c3..9ffa49bb01 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 1f1d614025..ce37b95bf8 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