From: Brian Paul Date: Thu, 17 Mar 2016 15:47:21 +0000 (-0600) Subject: r300g: add missing layer argument to rws->buffer_get_handle() call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84b961dd53a0509a6865d8417301838b34a40096;p=mesa.git r300g: add missing layer argument to rws->buffer_get_handle() call Fixes compilation error since 5aea0d691. Reviewed-by: Christian König --- diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 22a613f1e52..709345a492e 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 =