summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-09-23 15:02:19 -0400
committerAlex Deucher <[email protected]>2009-09-23 15:02:19 -0400
commit53051b8cb5b4804e3eab21262c91ea59f1ea24b8 (patch)
tree266d9b8a657ecb02be7debc80ed0440f792c6d5a /src/mesa/drivers
parentec205bbd577a2619e4b1910527e5e5d1d7426ddb (diff)
r600: fix copy/paste typo
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index b58859b6ba3..daa05f653dc 100644
--- a/src/mesa/drivers/dri/r600/r700_render.c
+++ b/src/mesa/drivers/dri/r600/r700_render.c
@@ -855,7 +855,7 @@ static void r700FixupIndexBuffer(GLcontext *ctx, const struct _mesa_index_buffer
if(context->ind_buf.bHostIb != GL_TRUE)
{
- radeonAllocDmaRegion(&context->radeon, &r300->ind_buf.bo,
+ radeonAllocDmaRegion(&context->radeon, &context->ind_buf.bo,
&context->ind_buf.bo_offset, size, 4);
assert(context->ind_buf.bo->ptr != NULL);