projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f610e
)
r600g: Fix void pointer arithmetic.
author
Vinson Lee
<vlee@vmware.com>
Sun, 30 Jan 2011 09:08:54 +0000
(
01:08
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 30 Jan 2011 09:08:54 +0000
(
01:08
-0800)
Fixes SCons build.
src/gallium/drivers/r600/r600_buffer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_buffer.c
b/src/gallium/drivers/r600/r600_buffer.c
index 6ebe6ab2364ca40712175dcb111d09cf46d4e2cf..2e2258609060105dc5e4638f325bda3f8f37db43 100644
(file)
--- a/
src/gallium/drivers/r600/r600_buffer.c
+++ b/
src/gallium/drivers/r600/r600_buffer.c
@@
-236,7
+236,7
@@
void r600_upload_user_buffers(struct r600_pipe_context *rctx,
}
u_upload_data(rctx->upload_vb, first, size,
- userbuf->user_buffer + first,
+
(uint8_t*)
userbuf->user_buffer + first,
&vb->buffer_offset,
&rctx->real_vertex_buffer[index],
&flushed);