summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorMathias Fröhlich <mathias.froehlich@web.de>2016-06-17 08:09:05 +0200
committerMathias Fröhlich <mathias.froehlich@web.de>2016-07-31 10:05:46 +0200
commitb730960e779c842d27192f812b33686f025431ff (patch)
treea02c9a575e20610cbbe8055c361b507127507948 /src/mesa/main/mtypes.h
parent56c65cd31538bd78b3ad9e516ddcb73438c535c9 (diff)
downloadexternal_mesa3d-b730960e779c842d27192f812b33686f025431ff.zip
external_mesa3d-b730960e779c842d27192f812b33686f025431ff.tar.gz
external_mesa3d-b730960e779c842d27192f812b33686f025431ff.tar.bz2
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 <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 03c68cf..2647f8f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1323,7 +1323,6 @@ struct gl_client_array
GLint Size; /**< components per element (1,2,3,4) */
GLenum Type; /**< datatype: GL_FLOAT, GL_INT, etc */
GLenum Format; /**< default: GL_RGBA, but may be GL_BGRA */
- GLsizei Stride; /**< user-specified stride */
GLsizei StrideB; /**< actual stride in bytes */
GLuint _ElementSize; /**< size of each element in bytes */
const GLubyte *Ptr; /**< Points to array data */