diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-22 14:13:17 +0100 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2010-03-15 00:03:04 -0400 |
commit | e1580ce4c9ec1175296504c0ae9f26d9d8e0e635 (patch) | |
tree | 4e7a761c199966b6f69a11704f691751d3b9b331 /src/gallium/drivers/nouveau | |
parent | 0192a4a825d3d04b1588bdabad629a9888f325d6 (diff) |
nvfx: fix quads drawing
The primitive splitting code is totally broken and will be rewritten.
Fix the most important bug now though.
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_util.h b/src/gallium/drivers/nouveau/nouveau_util.h index 7f16e31c3f..ab7761a31d 100644 --- a/src/gallium/drivers/nouveau/nouveau_util.h +++ b/src/gallium/drivers/nouveau/nouveau_util.h @@ -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: |