From: Anuj Phogat Date: Sat, 8 Mar 2014 00:48:35 +0000 (-0800) Subject: glsl: Fix copy-paste error in linker_warning() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80b4a36fed0712fd77b8cc5dbf5b970e0425b299;p=mesa.git glsl: Fix copy-paste error in linker_warning() Signed-off-by: Anuj Phogat Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index c8dc0661dfd..c2f7f486391 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -297,7 +297,7 @@ linker_warning(gl_shader_program *prog, const char *fmt, ...) { va_list ap; - ralloc_strcat(&prog->InfoLog, "error: "); + ralloc_strcat(&prog->InfoLog, "warning: "); va_start(ap, fmt); ralloc_vasprintf_append(&prog->InfoLog, fmt, ap); va_end(ap);