mesa: replace #defines with new gl_shader_type enum

This commit is contained in:
Brian Paul
2010-11-23 10:28:43 -07:00
parent 512f840702
commit c628fd743e
8 changed files with 53 additions and 40 deletions

View File

@@ -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;