[Mesa-dev] [PATCH] r300g: add missing layer argument to rws->buffer_get_handle() call

Christian König christian.koenig at amd.com
Thu Mar 17 15:51:41 UTC 2016


Ups, yeah that's a rebase problem. Sorry for not compiling R300 once more.

Patch is Reviewed-by: Christian König <christian.koenig at amd.com>

Regards,
Christian.

Am 17.03.2016 um 16:49 schrieb Brian Paul:
> Fixes compilation error since 5aea0d691.
> ---
>   src/gallium/drivers/r300/r300_texture.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
> index 22a613f..709345a 100644
> --- a/src/gallium/drivers/r300/r300_texture.c
> +++ b/src/gallium/drivers/r300/r300_texture.c
> @@ -982,7 +982,7 @@ boolean r300_resource_get_handle(struct pipe_screen* screen,
>       }
>   
>       return rws->buffer_get_handle(tex->buf, tex->tex.stride_in_bytes[0],
> -                                  0, whandle);
> +                                  0, 0, whandle);
>   }
>   
>   static const struct u_resource_vtbl r300_texture_vtbl =



More information about the mesa-dev mailing list