summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-04 13:22:21 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-04 13:22:21 +0000
commit4b61fd22a87342bafc3da2264b68537c6eb80375 (patch)
treeae4b4b35d4ef61ae298c91cc9caf12f62a5bdb1c /src/gallium/drivers/r300/r300_texture.c
parentd160eed005e75d8933562f4880dfc84033011ac5 (diff)
r300g: remove dead r300_get_texture_buffer function
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index 3b39207a45..93224e8d20 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -974,21 +974,3 @@ void r300_init_screen_texture_functions(struct pipe_screen* screen)
screen->video_surface_destroy= r300_video_surface_destroy;
}
-boolean r300_get_texture_buffer(struct pipe_screen* screen,
- struct pipe_texture* texture,
- struct pipe_buffer** buffer,
- unsigned* stride)
-{
- struct r300_texture* tex = (struct r300_texture*)texture;
- if (!tex) {
- return FALSE;
- }
-
- pipe_buffer_reference(buffer, tex->buffer);
-
- if (stride) {
- *stride = r300_texture_get_stride(r300_screen(screen), tex, 0);
- }
-
- return TRUE;
-}