summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer_upload.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.c b/src/gallium/drivers/svga/svga_resource_buffer_upload.c
index a657a8bc224..36782d5d0d1 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer_upload.c
+++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.c
@@ -658,9 +658,6 @@ svga_redefine_user_buffer(struct pipe_context *pipe,
assert(!sbuf->handle);
assert(!sbuf->hwbuf);
- /*
- * We always treat the contents of user-buffers as volatile,
- * so no particular action needed here.
- */
-
+ /* use the default action of simply resizing the user buffer's size */
+ u_default_redefine_user_buffer(pipe, resource, offset, size);
}