summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-27 02:08:15 +0200
committerMarek Olšák <[email protected]>2011-09-30 23:19:52 +0200
commitaf8eb5c851a9d566059ae9e37745614cd96b9a13 (patch)
tree466ccb03707abc2ba32652d97c6977385673362a /src/gallium/drivers/r300
parent90ce3cdde9fb2dd507b4e21c5456a3371f5996bc (diff)
winsys/radeon: remove a redundant parameter 'size' from buffer_from_handle
It's part of pb_buffer already. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-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 d2b3f3c2e6b..067ec072f67 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -969,7 +969,7 @@ struct pipe_resource *r300_texture_from_handle(struct pipe_screen *screen,
return NULL;
}
- buffer = rws->buffer_from_handle(rws, whandle, &stride, NULL);
+ buffer = rws->buffer_from_handle(rws, whandle, &stride);
if (!buffer)
return NULL;