From: Alex Deucher Date: Wed, 23 Sep 2009 19:02:19 +0000 (-0400) Subject: r600: fix copy/paste typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53051b8cb5b4804e3eab21262c91ea59f1ea24b8;p=mesa.git r600: fix copy/paste typo --- 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);