summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2014-03-07 16:48:35 -0800
committerAnuj Phogat <[email protected]>2014-04-16 18:37:06 -0700
commit80b4a36fed0712fd77b8cc5dbf5b970e0425b299 (patch)
tree8edd1f8f057e79c0ef42fb731ee767e9465e2ddd
parent7286739b9beea4683a29fe91850688a07ce23e1a (diff)
glsl: Fix copy-paste error in linker_warning()
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/glsl/linker.cpp2
1 files changed, 1 insertions, 1 deletions
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);