From 80b4a36fed0712fd77b8cc5dbf5b970e0425b299 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Fri, 7 Mar 2014 16:48:35 -0800 Subject: glsl: Fix copy-paste error in linker_warning() Signed-off-by: Anuj Phogat Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- src/glsl/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3