It would be good to also have a piglit test which demonstrates this
bad behavior.

Patch is:

Reviewed-by: Chris Forbes <chr...@ijw.co.nz>

On Fri, Sep 12, 2014 at 9:42 AM, Vincent Lejeune <v...@ovi.com> wrote:
> Fix #83596
> https://bugs.freedesktop.org/show_bug.cgi?id=83596
> ---
>  src/mesa/main/fbobject.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
> index ae3a418..5eaf1a3 100644
> --- a/src/mesa/main/fbobject.c
> +++ b/src/mesa/main/fbobject.c
> @@ -2299,6 +2299,7 @@ reuse_framebuffer_texture_attachment(struct 
> gl_framebuffer *fb,
>     dst_att->Complete = src_att->Complete;
>     dst_att->TextureLevel = src_att->TextureLevel;
>     dst_att->Zoffset = src_att->Zoffset;
> +   dst_att->Layered = src_att->Layered;
>  }
>
>
> --
> 1.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to