Browse Source

glsl: Remove extra newline from error message

tags/mesa-7.11-rc1
Ian Romanick 14 years ago
parent
commit
0f0179b8c2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/glsl/ast_function.cpp

+ 1
- 1
src/glsl/ast_function.cpp View File

@@ -238,7 +238,7 @@ match_function_by_name(exec_list *instructions, const char *name,
ir_function_signature *sig = (ir_function_signature *) node;

str = prototype_string(sig->return_type, f->name, &sig->parameters);
_mesa_glsl_error(loc, state, "%s%s\n", prefix, str);
_mesa_glsl_error(loc, state, "%s%s", prefix, str);
ralloc_free(str);

prefix = " ";

Loading…
Cancel
Save