projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf2b5c
)
r200: Fix missing offset from elt buffer pointer.
author
Pauli Nieminen
<suokkos@gmail.com>
Fri, 14 Aug 2009 22:56:21 +0000
(
01:56
+0300)
committer
Alex Deucher
<alexdeucher@gmail.com>
Tue, 18 Aug 2009 17:19:34 +0000
(13:19 -0400)
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
src/mesa/drivers/dri/r200/r200_tcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_tcl.c
b/src/mesa/drivers/dri/r200/r200_tcl.c
index 580370933ee4612230ac332ca4b364ff16649388..ca9a8dbf8c27505e97a0bee708670f7ab345249c 100644
(file)
--- 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;