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

Paul Berry stereotype441 at gmail.com
Tue Nov 5 14:16:38 PST 2013


On 1 November 2013 03:21, Tapani Pälli <tapani.palli at intel.com> 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,
> --
> 1.8.1.4
>

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131105/cfbbaf67/attachment.html>


More information about the mesa-dev mailing list