summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_transfer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-24 21:12:37 +0200
committerMarek Olšák <[email protected]>2012-04-30 01:14:28 +0200
commit43995c9470dd38cf80a60a169f5875de6798863f (patch)
treecffe218f880325eafec92207b1aa9eee17c869ef /src/gallium/auxiliary/util/u_transfer.c
parent4552fd50d959ab99546cfa994f8ba5bdf5d66bc7 (diff)
gallium: remove pipe_context::redefine_user_buffer
Diffstat (limited to 'src/gallium/auxiliary/util/u_transfer.c')
-rw-r--r--src/gallium/auxiliary/util/u_transfer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c
index 673a984fcb2..0b2679ffdb4 100644
--- a/src/gallium/auxiliary/util/u_transfer.c
+++ b/src/gallium/auxiliary/util/u_transfer.c
@@ -125,11 +125,3 @@ void u_default_transfer_destroy(struct pipe_context *pipe,
{
FREE(transfer);
}
-
-void u_default_redefine_user_buffer(struct pipe_context *ctx,
- struct pipe_resource *resource,
- unsigned offset,
- unsigned size)
-{
- resource->width0 = MAX2(resource->width0, offset + size);
-}