aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-12-11 18:45:43 +0100
committerMarge Bot <[email protected]>2020-03-10 14:28:37 +0000
commit1641c872ed36ee92ce8136385936e19f8535bec3 (patch)
tree7603ddb05b56b475315876775de6b2750d0dabb6 /src/mesa/main
parent305724dd7b716fc1c577fde6a0dd3fa62fc0f502 (diff)
mesa: Remove now unused _mesa_draw_attrib.
Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/308>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/arrayobj.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/arrayobj.h b/src/mesa/main/arrayobj.h
index c5f01ac1613..c7423f106ff 100644
--- a/src/mesa/main/arrayobj.h
+++ b/src/mesa/main/arrayobj.h
@@ -331,21 +331,6 @@ _mesa_draw_edge_flag_array_enabled(const struct gl_context *ctx)
}
-/**
- * Return the attrib for the given attribute.
- */
-static inline const struct gl_array_attributes*
-_mesa_draw_attrib(const struct gl_context *ctx, gl_vert_attrib attr)
-{
- if (ctx->Array._DrawVAOEnabledAttribs & VERT_BIT(attr)) {
- const struct gl_vertex_array_object *vao = ctx->Array._DrawVAO;
- return _mesa_draw_array_attrib(vao, attr);
- } else {
- return _vbo_current_attrib(ctx, attr);
- }
-}
-
-
/*
* API functions
*/