[Mesa-dev] [PATCH] r300g: add missing layer argument to rws->buffer_get_handle() call
Brian Paul
brianp at vmware.com
Thu Mar 17 15:49:00 UTC 2016
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 =
--
1.9.1
More information about the mesa-dev
mailing list