From ae290fd93e41d3f33546d0376ea7ff93bb8fcf31 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen Date: Sat, 15 Aug 2009 01:56:21 +0300 Subject: [PATCH] r200: Fix missing offset from elt buffer pointer. Signed-off-by: Pauli Nieminen --- src/mesa/drivers/dri/r200/r200_tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2