mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 14:20:37 +01:00
nv50: pass vtxbuf index as unsigned
The index passed to the function is already unsigned, and internally we threat it as unsigned. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
1773611c52
commit
19069803be
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb,
|
|||
}
|
||||
|
||||
static INLINE void
|
||||
nv50_user_vbuf_range(struct nv50_context *nv50, int vbi,
|
||||
nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi,
|
||||
uint32_t *base, uint32_t *size)
|
||||
{
|
||||
assert(vbi < PIPE_MAX_ATTRIBS);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue