diff options
author | Ian Romanick <[email protected]> | 2011-07-28 14:04:09 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-08-02 08:21:43 -0700 |
commit | 586e741ac1fa222d041990b265e820f5aa11344d (patch) | |
tree | bf67f1ce40db09b63711dba9a222d449b270e0ec /src/glsl/link_functions.cpp | |
parent | 81b036b4d79423c194596461b098a525af0102c2 (diff) |
linker: Make linker_error set LinkStatus to false
Remove the other places that set LinkStatus to false since they all
immediately follow a call to linker_error. The function linker_error
was previously known as linker_error_printf. The name was changed
because it may seem surprising that a printf function will set an
error flag.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/link_functions.cpp')
-rw-r--r-- | src/glsl/link_functions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/link_functions.cpp b/src/glsl/link_functions.cpp index 7ba760daa1a..d40f771e342 100644 --- a/src/glsl/link_functions.cpp +++ b/src/glsl/link_functions.cpp @@ -91,8 +91,8 @@ public: if (sig == NULL) { /* FINISHME: Log the full signature of unresolved function. */ - linker_error_printf(this->prog, "unresolved reference to function " - "`%s'\n", name); + linker_error(this->prog, "unresolved reference to function `%s'\n", + name); this->success = false; return visit_stop; } |