glsl: Fix copy-paste error in linker_warning()
authorAnuj Phogat <anuj.phogat@gmail.com>
Sat, 8 Mar 2014 00:48:35 +0000 (16:48 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 17 Apr 2014 01:37:06 +0000 (18:37 -0700)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp

index c8dc0661dfda07e1ccb094fe9b5dda47fd0ef38c..c2f7f4863910bcf274e5c879dc58f89dcffa1724 100644 (file)
@@ -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);