mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
vbo: Don't bother checking for stride == 0 for "any varying in a VBO".
We would still want to consider that data as being in a VBO even if we managed to produce this case, which as far as I know we can't. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
babe1fc004
commit
8f28c05d07
1 changed files with 1 additions and 2 deletions
|
|
@ -90,8 +90,7 @@ GLboolean vbo_any_varyings_in_vbos( const struct gl_client_array *arrays[] )
|
|||
GLuint i;
|
||||
|
||||
for (i = 0; i < VERT_ATTRIB_MAX; i++)
|
||||
if (arrays[i]->StrideB &&
|
||||
arrays[i]->BufferObj->Name != 0)
|
||||
if (arrays[i]->BufferObj->Name != 0)
|
||||
return GL_TRUE;
|
||||
|
||||
return GL_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue