mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-12 16:30:31 +01:00
mesa: use _mesa_is_bufferobj() in update_array()
This commit is contained in:
parent
529fa77529
commit
efcf5aa13f
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ update_array(struct gl_context *ctx,
|
|||
}
|
||||
|
||||
if (ctx->Array.ArrayObj->VBOonly &&
|
||||
ctx->Array.ArrayBufferObj->Name == 0) {
|
||||
!_mesa_is_bufferobj(ctx->Array.ArrayBufferObj)) {
|
||||
/* GL_ARB_vertex_array_object requires that all arrays reside in VBOs.
|
||||
* Generate GL_INVALID_OPERATION if that's not true.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue