summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-03-25 19:16:54 +0200
committerMathias Fröhlich <[email protected]>2018-03-31 06:32:13 +0200
commit461698af267f8001aa339c8ca1aec937083ad8fb (patch)
tree1e275d554a3109ca5422e088fb5b92973dae3676 /src/mesa/main
parent784fdef4e7d6055eafe8a3e8e149a64d3ca5e5f6 (diff)
vbo: Remove the now unused vbo draw path.
Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/state.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index fb97165db91..be8f3f302c6 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -459,21 +459,13 @@ _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag)
static void
-set_new_array(struct gl_context *ctx)
-{
- _vbo_set_recalculate_inputs(ctx);
- ctx->NewDriverState |= ctx->DriverFlags.NewArray;
-}
-
-
-static void
set_vertex_processing_mode(struct gl_context *ctx, gl_vertex_processing_mode m)
{
if (ctx->VertexProgram._VPMode == m)
return;
/* On change we may get new maps into the current values */
- set_new_array(ctx);
+ ctx->NewDriverState |= ctx->DriverFlags.NewArray;
/* Finally memorize the value */
ctx->VertexProgram._VPMode = m;
@@ -532,7 +524,7 @@ _mesa_set_draw_vao(struct gl_context *ctx, struct gl_vertex_array_object *vao,
new_array = true;
if (new_array)
- set_new_array(ctx);
+ ctx->NewDriverState |= ctx->DriverFlags.NewArray;
ctx->Array._DrawVAOEnabledAttribs = enabled;
_mesa_set_varying_vp_inputs(ctx, enabled);