From: Pauli Nieminen Date: Fri, 14 Aug 2009 22:56:21 +0000 (+0300) Subject: r200: Fix missing offset from elt buffer pointer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae290fd93e41d3f33546d0376ea7ff93bb8fcf31;p=mesa.git r200: Fix missing offset from elt buffer pointer. Signed-off-by: Pauli Nieminen --- diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c index 580370933ee..ca9a8dbf8c2 100644 --- a/src/mesa/drivers/dri/r200/r200_tcl.c +++ b/src/mesa/drivers/dri/r200/r200_tcl.c @@ -146,7 +146,7 @@ static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) rmesa->tcl.elt_used + nr*2 < R200_ELT_BUF_SZ) { GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + - rmesa->tcl.elt_used); + rmesa->radeon.tcl.elt_dma_offset + rmesa->tcl.elt_used); rmesa->tcl.elt_used += nr*2;