projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7e0e8
)
nvfx: fix for 64-bit systems
author
Luca Barbieri
<luca@luca-barbieri.com>
Tue, 13 Apr 2010 07:02:42 +0000
(09:02 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Tue, 13 Apr 2010 07:03:15 +0000
(09:03 +0200)
Thanks to Patrice Mandin for debugging this.
src/gallium/drivers/nvfx/nvfx_vbo.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_vbo.c
b/src/gallium/drivers/nvfx/nvfx_vbo.c
index bb8a2b63f05e5191fc3601c064f48d54cda09f40..8b9b5d0203cda4ebd52253b05a3db8f748f6007d 100644
(file)
--- 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);
- u
nsigned long
vtxfmt[16];
+ u
int32_t
vtxfmt[16];
unsigned vb_flags = nvfx->screen->vertex_buffer_flags | NOUVEAU_BO_RD;
if (!elements)