nouveau: OUT_RINGp expects the size in dwords, not bytes.

This fixes the *actual* bug that the previous commit was supposed to fix..
This commit is contained in:
Ben Skeggs 2007-02-06 02:28:55 +11:00
parent eab92fcdc2
commit 4b3679c6c5
1 changed files with 2 additions and 2 deletions

View File

@ -196,9 +196,9 @@ static inline void nv10_render_generic_primitive_elts(GLcontext *ctx,GLuint star
GLuint j;
nv10ExtendPrimitive(nmesa, size_dword);
nv10StartPrimitive(nmesa,prim+1,size_dword*count);
nv10StartPrimitive(nmesa,prim+1,size_dword);
for (j=start; j<count; j++ ) {
OUT_RINGp((nouveauVertex*)(vertptr+(elt[j]*vertsize)),vertsize);
OUT_RINGp((nouveauVertex*)(vertptr+(elt[j]*vertsize)),vertsize/4);
}
nv10FinishPrimitive(nmesa);
}