mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 08:08:25 +02:00
vbo: notify a driver that we change buffer offsets, strides, etc.
This commit is contained in:
parent
d123959ff7
commit
5a01361cea
2 changed files with 2 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ vbo_exec_bind_arrays( struct gl_context *ctx )
|
|||
arrays[attr]._MaxElement = count; /* ??? */
|
||||
|
||||
varying_inputs |= 1 << attr;
|
||||
ctx->NewState |= _NEW_ARRAY;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -202,6 +202,7 @@ static void vbo_bind_vertex_list(struct gl_context *ctx,
|
|||
|
||||
buffer_offset += node->attrsz[src] * sizeof(GLfloat);
|
||||
varying_inputs |= 1<<attr;
|
||||
ctx->NewState |= _NEW_ARRAY;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue