diff options
author | Luca Barbieri <[email protected]> | 2010-04-13 09:02:42 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-13 09:03:15 +0200 |
commit | 50409dd71b5ec3a0c318f5c69dd3e0f568129711 (patch) | |
tree | 176e94b3ed3eef77a89d6f1d311074f80e4357aa /src/gallium | |
parent | bf7e0e839f3221e198e2c50810afd967d91a5a77 (diff) |
nvfx: fix for 64-bit systems
Thanks to Patrice Mandin for debugging this.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 bb8a2b63f05..8b9b5d0203c 100644 --- a/src/gallium/drivers/nvfx/nvfx_vbo.c +++ b/src/gallium/drivers/nvfx/nvfx_vbo.c @@ -492,7 +492,7 @@ nvfx_vbo_validate(struct nvfx_context *nvfx) unsigned ib_format = nvfx->idxbuf_format; int i; int elements = MAX2(nvfx->vtxelt->num_elements, nvfx->hw_vtxelt_nr); - unsigned long vtxfmt[16]; + uint32_t vtxfmt[16]; unsigned vb_flags = nvfx->screen->vertex_buffer_flags | NOUVEAU_BO_RD; if (!elements) |