r600: fix copy/paste typo
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Sep 2009 19:02:19 +0000 (15:02 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Sep 2009 19:02:19 +0000 (15:02 -0400)
src/mesa/drivers/dri/r600/r700_render.c

index b58859b6ba31f586cefda9620bfac306d22621ee..daa05f653dc8149eed4c5a7bd7bf2b35012d790b 100644 (file)
@@ -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);