diff options
author | Mathias Fröhlich <[email protected]> | 2018-04-01 20:18:36 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-05-10 07:06:16 +0200 |
commit | 881d2fcafaddd391b03753173d126148c9dafbcf (patch) | |
tree | 74835b8cb2393239e5257f567daa5f2429c456af /src/mesa/main/varray.h | |
parent | 899476b6b1d41c5ed08391843110c7d62b2ca863 (diff) |
mesa: Remove Array._DrawArrays.
Only tnl based drivers still use this array. So remove it
from core mesa and use Array._DrawVAO instead.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.h')
-rw-r--r-- | src/mesa/main/varray.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 25d2a29e731..6ab55ed36ae 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -53,20 +53,6 @@ _mesa_attr_zero_aliases_vertex(const struct gl_context *ctx) } -/** - * This specifies the set of vertex arrays used by the driver for drawing. - */ -static inline void -_mesa_set_drawing_arrays(struct gl_context *ctx, - const struct gl_vertex_array *arrays) -{ - if (ctx->Array._DrawArrays != arrays) { - ctx->Array._DrawArrays = arrays; - ctx->NewDriverState |= ctx->DriverFlags.NewArray; - } -} - - extern void _mesa_update_array_format(struct gl_context *ctx, struct gl_vertex_array_object *vao, |