mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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:
parent
eab92fcdc2
commit
4b3679c6c5
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue