From 84b961dd53a0509a6865d8417301838b34a40096 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 17 Mar 2016 09:47:21 -0600 Subject: [PATCH] r300g: add missing layer argument to rws->buffer_get_handle() call MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes compilation error since 5aea0d691. Reviewed-by: Christian König --- 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 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 = -- 2.30.2