mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
softpipe: remove dead get_texture_buffer function
This commit is contained in:
parent
4b61fd22a8
commit
86e146df97
2 changed files with 0 additions and 26 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue