summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-17 09:47:21 -0600
committerBrian Paul <[email protected]>2016-03-17 09:52:21 -0600
commit84b961dd53a0509a6865d8417301838b34a40096 (patch)
tree4d956cbb8f821e936bf5a12fe41c885ffc80580d
parent5aea0d691988af945e09e1d7cca28ca0759cc309 (diff)
r300g: add missing layer argument to rws->buffer_get_handle() call
Fixes compilation error since 5aea0d691. Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/drivers/r300/r300_texture.c2
1 files changed, 1 insertions, 1 deletions
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 =