Pushed, thanks!

Marek

On Sun, Oct 15, 2017 at 7:46 PM, Miklós Máté <[email protected]> wrote:
> update_single_program_texture() never returns NULL.
>
> Signed-off-by: Miklós Máté <[email protected]>
> ---
>  src/mesa/main/texstate.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
> index edd2253731..776806d632 100644
> --- a/src/mesa/main/texstate.c
> +++ b/src/mesa/main/texstate.c
> @@ -686,8 +686,6 @@ update_single_program_texture_state(struct gl_context 
> *ctx,
>     struct gl_texture_object *texObj;
>
>     texObj = update_single_program_texture(ctx, prog, unit);
> -   if (!texObj)
> -      return;
>
>     _mesa_reference_texobj(&ctx->Texture.Unit[unit]._Current, texObj);
>     BITSET_SET(enabled_texture_units, unit);
> --
> 2.15.0.rc0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to