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 <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Ian Romanick
2011-07-28 14:04:09 -07:00
parent 81b036b4d7
commit 586e741ac1
4 changed files with 90 additions and 100 deletions

View File

@@ -26,7 +26,7 @@
#define GLSL_LINKER_H
extern void
linker_error_printf(gl_shader_program *prog, const char *fmt, ...);
linker_error(gl_shader_program *prog, const char *fmt, ...);
extern bool
link_function_calls(gl_shader_program *prog, gl_shader *main,