summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Marchesin <[email protected]>2008-02-16 03:04:28 +0100
committerStephane Marchesin <[email protected]>2008-02-16 03:04:28 +0100
commit4d9c19d2f7eef263b49485b6e65be9afbe58363a (patch)
treec6969454265b133f6be8c04b2ba193aecf90e4a7
parent4032ff3889021089debce1c43a0bb984b121cbf6 (diff)
nv30: fixes.
-rw-r--r--src/mesa/pipe/nv30/nv30_vbo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv30/nv30_vbo.c b/src/mesa/pipe/nv30/nv30_vbo.c
index 414cf55ac8d..57fb9bc8a57 100644
--- a/src/mesa/pipe/nv30/nv30_vbo.c
+++ b/src/mesa/pipe/nv30/nv30_vbo.c
@@ -241,7 +241,7 @@ nv30_draw_elements_u08(struct nv30_context *nv30, void *ib,
int push, i;
if (count & 1) {
- BEGIN_RING(rankine, NV40TCL_VB_ELEMENT_U32, 1);
+ BEGIN_RING(rankine, NV34TCL_VB_ELEMENT_U32, 1);
OUT_RING (elts[0]);
elts++; count--;
}
@@ -249,7 +249,7 @@ nv30_draw_elements_u08(struct nv30_context *nv30, void *ib,
while (count) {
push = MIN2(count, 2047 * 2);
- BEGIN_RING_NI(rankine, NV40TCL_VB_ELEMENT_U16, push >> 1);
+ BEGIN_RING_NI(rankine, NV34TCL_VB_ELEMENT_U16, push >> 1);
for (i = 0; i < push; i+=2)
OUT_RING((elts[i+1] << 16) | elts[i]);