diff options
author | Mathias Fröhlich <[email protected]> | 2019-05-03 06:53:21 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2019-05-04 07:40:35 +0200 |
commit | 7af047c3732c2a701b010b79fd8dae35c5f17268 (patch) | |
tree | 487f1b17a02d74fed5acb9878af0e69c083d6038 /src/mesa/vbo/vbo_exec.c | |
parent | b9de48581a9d3de4b30c2f8d2fd0a8555bd480db (diff) |
mesa: Rip out now unused gl_context::aelt_context.
Now this part of gl_context state is unused and can be removed.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/vbo/vbo_exec.c b/src/mesa/vbo/vbo_exec.c index 34dbc001c92..c4d4bc6e0ef 100644 --- a/src/mesa/vbo/vbo_exec.c +++ b/src/mesa/vbo/vbo_exec.c @@ -115,17 +115,11 @@ vbo_exec_init(struct gl_context *ctx) exec->ctx = ctx; - /* aelt_context should have been created by the caller */ - assert(ctx->aelt_context); - vbo_exec_vtx_init(exec); ctx->Driver.NeedFlush = 0; ctx->Driver.CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END; - /* The aelt_context state should still be dirty from its creation */ - assert(_ae_is_state_dirty(ctx)); - exec->eval.recalculate_maps = GL_TRUE; } @@ -134,11 +128,6 @@ void vbo_exec_destroy( struct gl_context *ctx ) { struct vbo_exec_context *exec = &vbo_context(ctx)->exec; - if (ctx->aelt_context) { - _ae_destroy_context( ctx ); - ctx->aelt_context = NULL; - } - vbo_exec_vtx_destroy( exec ); } |