[Mesa-dev] [PATCH] glsl: Fix copy-paste error in linker_warning()

Anuj Phogat anuj.phogat at gmail.com
Mon Mar 10 11:48:53 PDT 2014


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/glsl/linker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index f6b2661..a619bc8 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);
-- 
1.8.3.1



More information about the mesa-dev mailing list