diff options
Diffstat (limited to 'src/mesa/tnl/t_rebase.c')
-rw-r--r-- | src/mesa/tnl/t_rebase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_rebase.c b/src/mesa/tnl/t_rebase.c index e6e5c9f3dfa..2d53d947d3d 100644 --- a/src/mesa/tnl/t_rebase.c +++ b/src/mesa/tnl/t_rebase.c @@ -227,7 +227,7 @@ void t_rebase_prims( struct gl_context *ctx, tmp_attribs[i] = *(arrays[i].VertexAttrib); tmp_arrays[i].BufferBinding = arrays[i].BufferBinding; tmp_arrays[i].VertexAttrib = &tmp_attribs[i]; - if (_mesa_is_bufferobj(arrays[i].BufferBinding->BufferObj)) + if (arrays[i].BufferBinding->BufferObj) tmp_attribs[i].RelativeOffset += min_index * arrays[i].BufferBinding->Stride; else |