summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen_buffer.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-14 10:08:59 +0100
committerMarek Olšák <maraeo@gmail.com>2011-02-14 11:43:14 +0100
commit476cec37d615df7c7329ef74d4a7ea7200b2d8fb (patch)
tree0339abf12a55bf539d74996ccde929f5f0f2f5a6 /src/gallium/drivers/r300/r300_screen_buffer.h
parentd173f1ba8a3d77e46f73ecb00378ea9598fe2c68 (diff)
r300g: do not create a user buffer struct for misaligned ushort indices fallback
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h
index ae87c4406a..14bee460d5 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.h
+++ b/src/gallium/drivers/r300/r300_screen_buffer.h
@@ -40,7 +40,7 @@
void r300_upload_index_buffer(struct r300_context *r300,
struct pipe_resource **index_buffer,
unsigned index_size, unsigned *start,
- unsigned count);
+ unsigned count, uint8_t *ptr);
struct pipe_resource *r300_buffer_create(struct pipe_screen *screen,
const struct pipe_resource *templ);