From b730960e779c842d27192f812b33686f025431ff Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Fri, 17 Jun 2016 08:09:05 +0200 Subject: mesa: Remove set but not used gl_client_array::Stride. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The field is only read for printing today and there it was probably a leftover. Signed-off-by: Mathias Fröhlich Reviewed-by: Eric Anholt --- src/mesa/main/varray.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/main/varray.h') diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 3c5d01e27eb..54229ffcd8c 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -62,7 +62,6 @@ _mesa_update_client_array(struct gl_context *ctx, dst->Size = src->Size; dst->Type = src->Type; dst->Format = src->Format; - dst->Stride = src->Stride; dst->StrideB = binding->Stride; dst->Ptr = _mesa_vertex_attrib_address(src, binding); dst->Normalized = src->Normalized; -- cgit v1.2.3