[PATCH 2/7] glamor: Fix up some weird formatting in _glamor_create_fbo_array().
Alex Deucher
alexdeucher at gmail.com
Wed Jul 1 06:55:15 PDT 2015
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt <eric at anholt.net> wrote:
> Signed-off-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> glamor/glamor_fbo.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
> index cab2ff9..acb5d0d 100644
> --- a/glamor/glamor_fbo.c
> +++ b/glamor/glamor_fbo.c
> @@ -424,8 +424,8 @@ glamor_create_fbo_array(glamor_screen_private *glamor_priv,
>
> cleanup:
> for (i = 0; i < block_wcnt * block_hcnt; i++)
> - if ((fbo_array)[i])
> - glamor_destroy_fbo(glamor_priv, (fbo_array)[i]);
> + if (fbo_array[i])
> + glamor_destroy_fbo(glamor_priv, fbo_array[i]);
> free(box_array);
> free(fbo_array);
> return NULL;
> --
> 2.1.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list