Mesa (master): glsl: Fix copy-paste error in linker_warning()

Anuj Phogat aphogat at kemper.freedesktop.org
Thu Apr 17 01:45:48 UTC 2014


Module: Mesa
Branch: master
Commit: 80b4a36fed0712fd77b8cc5dbf5b970e0425b299
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80b4a36fed0712fd77b8cc5dbf5b970e0425b299

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Mar  7 16:48:35 2014 -0800

glsl: Fix copy-paste error in linker_warning()

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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 c8dc066..c2f7f48 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);




More information about the mesa-commit mailing list