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

Kenneth Graunke kenneth at whitecape.org
Fri Mar 14 02:47:05 PDT 2014


On 03/10/2014 11:48 AM, Anuj Phogat wrote:
> 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);
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140314/ad21042a/attachment.pgp>


More information about the mesa-dev mailing list