summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_upload_mgr.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-09-02 15:11:40 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-09-03 18:14:48 +0200
commit0c5df863ba27d31993f3fdc85b26407f398514fa (patch)
treee292e3206c447e559fb63be05cd4fcc57c73c74c /src/gallium/auxiliary/util/u_upload_mgr.h
parentb4f7639955b6c74436db6dea9174a8c7ce37ec62 (diff)
downloadexternal_mesa3d-0c5df863ba27d31993f3fdc85b26407f398514fa.zip
external_mesa3d-0c5df863ba27d31993f3fdc85b26407f398514fa.tar.gz
external_mesa3d-0c5df863ba27d31993f3fdc85b26407f398514fa.tar.bz2
u_upload_mgr: remove the return value from u_upload_buffer
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_upload_mgr.h')
-rw-r--r--src/gallium/auxiliary/util/u_upload_mgr.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/util/u_upload_mgr.h b/src/gallium/auxiliary/util/u_upload_mgr.h
index 2c31977..9744dc1 100644
--- a/src/gallium/auxiliary/util/u_upload_mgr.h
+++ b/src/gallium/auxiliary/util/u_upload_mgr.h
@@ -106,13 +106,13 @@ enum pipe_error u_upload_data( struct u_upload_mgr *upload,
* Same as u_upload_data, except that the input data comes from a buffer
* instead of a user pointer.
*/
-enum pipe_error u_upload_buffer( struct u_upload_mgr *upload,
- unsigned min_out_offset,
- unsigned offset,
- unsigned size,
- struct pipe_resource *inbuf,
- unsigned *out_offset,
- struct pipe_resource **outbuf);
+void u_upload_buffer(struct u_upload_mgr *upload,
+ unsigned min_out_offset,
+ unsigned offset,
+ unsigned size,
+ struct pipe_resource *inbuf,
+ unsigned *out_offset,
+ struct pipe_resource **outbuf);