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:
committed by
Younes Manton
parent
0192a4a825
commit
e1580ce4c9
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user