diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-25 14:46:45 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-12-25 16:07:13 +0100 |
commit | 7e752760d410e72cc766691bee207729f28a920a (patch) | |
tree | 44b9a60698909a5bb8846240f158081572e99c5b /src/gallium/drivers/r300/r300_screen_buffer.h | |
parent | 9c448817f7d62ae885019d816a7ecbc2c7bc34c1 (diff) | |
download | external_mesa3d-7e752760d410e72cc766691bee207729f28a920a.zip external_mesa3d-7e752760d410e72cc766691bee207729f28a920a.tar.gz external_mesa3d-7e752760d410e72cc766691bee207729f28a920a.tar.bz2 |
r300g: simplify the code for buffer uploads
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h index 0b3555d..fb0033c 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.h +++ b/src/gallium/drivers/r300/r300_screen_buffer.h @@ -63,13 +63,12 @@ struct r300_buffer /* Functions. */ -int r300_upload_user_buffers(struct r300_context *r300); +void r300_upload_user_buffers(struct r300_context *r300); -int r300_upload_index_buffer(struct r300_context *r300, - struct pipe_resource **index_buffer, - unsigned index_size, - unsigned start, - unsigned count, unsigned *out_offset); +void r300_upload_index_buffer(struct r300_context *r300, + struct pipe_resource **index_buffer, + unsigned index_size, unsigned *start, + unsigned count); struct pipe_resource *r300_buffer_create(struct pipe_screen *screen, const struct pipe_resource *templ); |