[Mesa-dev] [PATCH] glsl: cleanup, remove duplicate assignment

Kenneth Graunke kenneth at whitecape.org
Sun Nov 17 18:54:54 PST 2013


On 11/01/2013 03:22 AM, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
>  src/glsl/glsl_parser_extras.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
> index be17109..8f66d5f 100644
> --- a/src/glsl/glsl_parser_extras.cpp
> +++ b/src/glsl/glsl_parser_extras.cpp
> @@ -1521,7 +1521,6 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
>     shader->CompileStatus = !state->error;
>     shader->InfoLog = state->info_log;
>     shader->Version = state->language_version;
> -   shader->InfoLog = state->info_log;
>     shader->IsES = state->es_shader;
>  
>     memcpy(shader->builtins_to_link, state->builtins_to_link,
> 

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

and pushed, thanks.


More information about the mesa-dev mailing list