Module: Mesa Branch: nvfx-nv30-fixes Commit: c882f2e3743350a3ecd20c09a44d4f6bb9839c31 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c882f2e3743350a3ecd20c09a44d4f6bb9839c31
Author: Luca Barbieri <[email protected]> Date: Mon Apr 12 22:04:48 2010 +0200 try to fix nv30 --- src/gallium/drivers/nvfx/nvfx_vbo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c index bb8a2b6..f29922a 100644 --- a/src/gallium/drivers/nvfx/nvfx_vbo.c +++ b/src/gallium/drivers/nvfx/nvfx_vbo.c @@ -491,7 +491,7 @@ nvfx_vbo_validate(struct nvfx_context *nvfx) struct pipe_resource *ib = nvfx->idxbuf; unsigned ib_format = nvfx->idxbuf_format; int i; - int elements = MAX2(nvfx->vtxelt->num_elements, nvfx->hw_vtxelt_nr); + int elements = nvfx->vtxelt->num_elements; unsigned long vtxfmt[16]; unsigned vb_flags = nvfx->screen->vertex_buffer_flags | NOUVEAU_BO_RD; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
