diff options
author | Pauli Nieminen <[email protected]> | 2009-08-15 01:56:21 +0300 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-08-18 13:19:34 -0400 |
commit | ae290fd93e41d3f33546d0376ea7ff93bb8fcf31 (patch) | |
tree | 329b612e3cba59cfc2480d642b046f611e1c5c3a /src/mesa/drivers/dri | |
parent | bbf2b5c4ffcb6755d34a5b698445aecf604e45fb (diff) |
r200: Fix missing offset from elt buffer pointer.
Signed-off-by: Pauli Nieminen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |