mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
nvfx: fix for 64-bit systems
Thanks to Patrice Mandin for debugging this.
This commit is contained in:
parent
bf7e0e839f
commit
50409dd71b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue