projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab92fc
)
nouveau: OUT_RINGp expects the size in dwords, not bytes.
author
Ben Skeggs
<darktama@iinet.net.au>
Mon, 5 Feb 2007 15:28:55 +0000
(
02:28
+1100)
committer
Ben Skeggs
<darktama@iinet.net.au>
Mon, 5 Feb 2007 15:29:20 +0000
(
02:29
+1100)
This fixes the *actual* bug that the previous commit was supposed to fix..
src/mesa/drivers/dri/nouveau/nv10_swtcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 6f57b775df0b241d5f9a39c0698ff79d54474be0..eec67bd8059ad99e6eed0a7a2f734a84659b04af 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/
src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@
-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);
}