softpipe: remove dead get_texture_buffer function

This commit is contained in:
Keith Whitwell 2010-03-04 13:22:37 +00:00
parent 4b61fd22a8
commit 86e146df97
2 changed files with 0 additions and 26 deletions

View file

@ -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;
}

View file

@ -60,12 +60,6 @@ struct pipe_screen *softpipe_create_screen( struct pipe_winsys * );
*/
struct pipe_screen *softpipe_create_screen_malloc(void);
boolean
softpipe_get_texture_buffer( struct pipe_texture *texture,
struct pipe_buffer **buf,
unsigned *stride );
#ifdef __cplusplus
}
#endif