nvfx: fix quads drawing

The primitive splitting code is totally broken and will be rewritten.

Fix the most important bug now though.
This commit is contained in:
Luca Barbieri
2010-02-22 14:13:17 +01:00
committed by Younes Manton
parent 0192a4a825
commit e1580ce4c9
+1 -1
View File
@@ -33,7 +33,7 @@ nouveau_vbuf_split(unsigned remaining, unsigned overhead, unsigned vpp,
max = max - (max % 3);
break;
case PIPE_PRIM_QUADS:
max = max & 3;
max = max & ~3;
break;
case PIPE_PRIM_LINE_LOOP:
case PIPE_PRIM_LINE_STRIP: