diff options
author | Keith Whitwell <[email protected]> | 2010-03-04 13:22:37 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-03-04 13:22:37 +0000 |
commit | 86e146df977d8df97026291c46aa4adfc13309e1 (patch) | |
tree | 1d58483cdf30abb710d0a8c79c7d32c9ba923f4d /src/gallium/drivers/softpipe/sp_texture.c | |
parent | 4b61fd22a87342bafc3da2264b68537c6eb80375 (diff) |
softpipe: remove dead get_texture_buffer function
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_texture.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_texture.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index d3997854b2f..44710d9992a 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -475,24 +475,4 @@ softpipe_init_screen_texture_funcs(struct pipe_screen *screen) } -/** - * Return pipe_buffer handle and stride for given texture object. - * XXX used for??? - */ -boolean -softpipe_get_texture_buffer( struct pipe_texture *texture, - struct pipe_buffer **buf, - unsigned *stride ) -{ - struct softpipe_texture *tex = (struct softpipe_texture *) texture; - - if (!tex) - return FALSE; - pipe_buffer_reference(buf, tex->buffer); - - if (stride) - *stride = tex->stride[0]; - - return TRUE; -} |