projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74f4bc
)
nvfx: fix void * arithmetic warning
author
Brian Paul
<brianp@vmware.com>
Sun, 18 Apr 2010 14:41:51 +0000
(08:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sun, 18 Apr 2010 14:41:51 +0000
(08:41 -0600)
src/gallium/drivers/nvfx/nvfx_vbo.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_vbo.c
b/src/gallium/drivers/nvfx/nvfx_vbo.c
index 5ffbdfcb2a65f3a8c2b85a74bcd861c8ca058a30..0ebeadc870d9e7af39bd2ace2ab22375768d8c98 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_vbo.c
+++ b/
src/gallium/drivers/nvfx/nvfx_vbo.c
@@
-124,7
+124,7
@@
nvfx_vbo_static_attrib(struct nvfx_context *nvfx,
void *map;
map = pipe_buffer_map(&nvfx->pipe, vb->buffer, PIPE_TRANSFER_READ, &transfer);
- map
+=
vb->buffer_offset + ve->src_offset;
+ map
= (uint8_t *) map +
vb->buffer_offset + ve->src_offset;
float *v = map;