diff options
author | Mathias Fröhlich <[email protected]> | 2016-06-17 08:09:05 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2016-07-31 10:05:46 +0200 |
commit | b730960e779c842d27192f812b33686f025431ff (patch) | |
tree | a02c9a575e20610cbbe8055c361b507127507948 /src/mesa/vbo/vbo_exec_draw.c | |
parent | 56c65cd31538bd78b3ad9e516ddcb73438c535c9 (diff) |
mesa: Remove set but not used gl_client_array::Stride.
The field is only read for printing today and
there it was probably a leftover.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 2f5333ffb68..0ae879b44db 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -250,7 +250,6 @@ vbo_exec_bind_arrays( struct gl_context *ctx ) } arrays[attr].Size = exec->vtx.attrsz[src]; arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); - arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); arrays[attr].Type = exec->vtx.attrtype[src]; arrays[attr].Integer = vbo_attrtype_to_integer_flag(exec->vtx.attrtype[src]); |