mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
nv30: check for NULL vertex buffers in prevalidate_vbufs
This commit is contained in:
parent
a054fd8268
commit
89155ba71d
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ nv30_prevalidate_vbufs(struct nv30_context *nv30)
|
|||
|
||||
for (i = 0; i < nv30->num_vtxbufs; i++) {
|
||||
vb = &nv30->vtxbuf[i];
|
||||
if (!vb->stride)
|
||||
if (!vb->stride || !vb->buffer) /* NOTE: user_buffer not implemented */
|
||||
continue;
|
||||
buf = nv04_resource(vb->buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue