summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-05-03 09:50:53 -0700
committerIan Romanick <[email protected]>2011-05-03 14:51:02 -0700
commit0f0179b8c278854fdbef283c5abaf95ad33351c3 (patch)
tree755605b0f84537bfed09ded9f68a72a81f008f3e /src/glsl
parent27477248d35928f5043ebcaf268c30442fc12d8c (diff)
glsl: Remove extra newline from error message
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ast_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index 67147b6718f..3ba699ad971 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -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 = " ";