Replace remaining use of is_error_type with glsl_type::is_error

This commit is contained in:
Ian Romanick
2010-03-26 14:41:32 -07:00
parent a6d653dcbb
commit cef3baecf6
2 changed files with 1 additions and 3 deletions

View File

@@ -717,7 +717,7 @@ ast_expression::hir(exec_list *instructions,
}
}
if (is_error_type(type) && !error_emitted)
if (type->is_error() && !error_emitted)
_mesa_glsl_error(& loc, state, "type mismatch");
return result;