diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-03 06:08:50 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-12-03 06:08:50 +0100 |
commit | b088b255ecec68154d56db801151b5d7764b0837 (patch) | |
tree | 6ce3323346d7a1d658d27aacc62930f60d212e23 /src/gallium/drivers/r300/r300_state.c | |
parent | d531f9c2f5c78468d913fc509b223760ac1c1124 (diff) | |
download | external_mesa3d-b088b255ecec68154d56db801151b5d7764b0837.zip external_mesa3d-b088b255ecec68154d56db801151b5d7764b0837.tar.gz external_mesa3d-b088b255ecec68154d56db801151b5d7764b0837.tar.bz2 |
r300g: fix pointer arithmetic with void* in transfer_inline_write
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index d4e2063..092c032 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1824,7 +1824,7 @@ static void r300_set_constant_buffer(struct pipe_context *pipe, } if (buf == NULL || buf->width0 == 0 || - (mapped = r300_buffer(buf)->constant_buffer) == NULL) { + (mapped = (uint32_t*)r300_buffer(buf)->constant_buffer) == NULL) { return; } |